1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-29 00:32:49 +00:00

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

30 lines
592 B
C++
Raw Normal View History

#ifndef COMPONENTS_TERRAIN_DEFS_HPP
#define COMPONENTS_TERRAIN_DEFS_HPP
2024-09-19 00:36:45 +02:00
#include <components/vfs/pathutil.hpp>
2015-06-03 01:18:36 +02:00
namespace Terrain
{
enum Direction
{
North = 0,
East = 1,
South = 2,
West = 3
};
struct LayerInfo
{
2024-09-19 00:36:45 +02:00
VFS::Path::Normalized mDiffuseMap;
VFS::Path::Normalized mNormalMap;
2016-03-22 21:00:31 +01:00
bool mParallax; // Height info in normal map alpha channel?
bool mSpecular; // Specular info in diffuse map alpha channel?
2016-02-20 19:54:47 +01:00
bool requiresShaders() const { return !mNormalMap.empty() || mSpecular; }
};
}
#endif