![]() |
OGRE 14.2
Object-Oriented Graphics Rendering Engine
|
Shader model 2 profile target. More...
#include <OgreTerrainMaterialGeneratorA.h>
Inheritance diagram for Ogre::TerrainMaterialGeneratorA::SM2Profile:Public Member Functions | |
| SM2Profile (TerrainMaterialGeneratorA *parent) | |
| virtual | ~SM2Profile () |
| MaterialPtr | generate (const Terrain *terrain) |
| Generate / reuse a material for the terrain. | |
| uint8 | getMaxLayers (const Terrain *terrain) const |
| Get the number of layers supported. | |
| PSSMShadowCameraSetup * | getReceiveDynamicShadowsPSSM () const |
| Whether to use PSSM support dynamic texture shadows, and if so the settings to use (default 0). | |
| bool | isLayerNormalMappingEnabled () const |
| Whether to support normal mapping per layer in the shader (default true). | |
| bool | isLayerOcclusionMappingEnabled () const |
| Whether to support steep parallax mapping per layer in the shader (default true). | |
| bool | isLayerParallaxMappingEnabled () const |
| Whether to support parallax mapping per layer in the shader (default true). | |
| bool | isLayerSpecularMappingEnabled () const |
| Whether to support specular mapping per layer in the shader (default true). | |
| void | setCompositeMapEnabled (bool enabled) |
| void | setLayerNormalMappingEnabled (bool enabled) |
| Whether to support normal mapping per layer in the shader (default true). | |
| void | setLayerParallaxMappingEnabled (bool enabled) |
| Whether to support parallax mapping per layer in the shader (default true). | |
| void | setLayerParallaxOcclusionMappingEnabled (bool enabled) |
| Whether to support steep parallax mapping per layer in the shader (default true). | |
| void | setLayerSpecularMappingEnabled (bool enabled) |
| Whether to support specular mapping per layer in the shader (default true). | |
| void | setLightmapEnabled (bool enabled) |
| void | setReceiveDynamicShadowsEnabled (bool enabled) |
| void | setReceiveDynamicShadowsLowLod (bool enabled) |
| void | setReceiveDynamicShadowsPSSM (PSSMShadowCameraSetup *pssmSettings) |
| Whether to use PSSM support dynamic texture shadows, and if so the settings to use (default 0). | |
Public Member Functions inherited from Ogre::TerrainMaterialGenerator::Profile | |
| virtual | ~Profile () |
Shader model 2 profile target.
| Ogre::TerrainMaterialGeneratorA::SM2Profile::SM2Profile | ( | TerrainMaterialGeneratorA * | parent | ) |
|
virtual |
| MaterialPtr Ogre::TerrainMaterialGeneratorA::SM2Profile::generate | ( | const Terrain * | terrain | ) |
Generate / reuse a material for the terrain.
Get the number of layers supported.
|
inline |
Whether to support normal mapping per layer in the shader (default true).
Whether to support normal mapping per layer in the shader (default true).
|
inline |
Whether to support parallax mapping per layer in the shader (default true).
Whether to support parallax mapping per layer in the shader (default true).
| void Ogre::TerrainMaterialGeneratorA::SM2Profile::setLayerParallaxOcclusionMappingEnabled | ( | bool | enabled | ) |
Whether to support steep parallax mapping per layer in the shader (default true).
|
inline |
Whether to support steep parallax mapping per layer in the shader (default true).
|
inline |
Whether to support specular mapping per layer in the shader (default true).
Whether to support specular mapping per layer in the shader (default true).
| void Ogre::TerrainMaterialGeneratorA::SM2Profile::setReceiveDynamicShadowsPSSM | ( | PSSMShadowCameraSetup * | pssmSettings | ) |
Whether to use PSSM support dynamic texture shadows, and if so the settings to use (default 0).
|
inline |
Whether to use PSSM support dynamic texture shadows, and if so the settings to use (default 0).
|
inline |
|
inline |