OGRE-Next
4.0.0unstable
Object-Oriented Graphics Rendering Engine
|
Local texture definition. More...
#include <OgreCompositorShadowNodeDef.h>
Public Member Functions | |
ShadowTextureDefinition (ShadowMapTechniques t, const String &texRefName, const Vector2 &_uvOffset, const Vector2 &_uvLength, uint8 _arrayIdx, size_t _light, size_t _split) | |
void | _setSharesSetupWithIdx (size_t idx) |
size_t | getSharesSetupWith () const |
IdString | getTextureName () const |
String | getTextureNameStr () const |
Public Attributes | |
uint8 | arrayIdx |
float | autoConstantBiasScale |
0 to disable. More... | |
float | autoNormalOffsetBiasScale |
0 to disable. More... | |
float | constantBiasScale |
Constant bias is per material (tweak HlmsDatablock::mShadowConstantBias). More... | |
size_t | light |
float | normalOffsetBias |
Normal offset bias is per cascade / shadow map. More... | |
uint32 | numSplits |
uint32 | numStableSplits |
Real | pssmLambda |
ShadowMapTechniques | shadowMapTechnique |
size_t | split |
Real | splitBlend |
Real | splitFade |
Real | splitPadding |
Vector2 | uvLength |
Vector2 | uvOffset |
float | xyPadding |
Local texture definition.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
uint8 Ogre::ShadowTextureDefinition::arrayIdx |
float Ogre::ShadowTextureDefinition::autoConstantBiasScale |
0 to disable.
Non-zero to increase bias based on orthographic projection's window size.
float Ogre::ShadowTextureDefinition::autoNormalOffsetBiasScale |
0 to disable.
Non-zero to increase bias based on orthographic projection's window size.
float Ogre::ShadowTextureDefinition::constantBiasScale |
Constant bias is per material (tweak HlmsDatablock::mShadowConstantBias).
This value lets you multiply it 'mShadowConstantBias * constantBiasScale' per cascade / shadow map
This is applied on top of the autocalculated bias from autoConstantBiasScale
size_t Ogre::ShadowTextureDefinition::light |
float Ogre::ShadowTextureDefinition::normalOffsetBias |
Normal offset bias is per cascade / shadow map.
This is applied on top of the autocalculated bias from autoNormalOffsetBiasScale
uint32 Ogre::ShadowTextureDefinition::numSplits |
uint32 Ogre::ShadowTextureDefinition::numStableSplits |
Real Ogre::ShadowTextureDefinition::pssmLambda |
ShadowMapTechniques Ogre::ShadowTextureDefinition::shadowMapTechnique |
size_t Ogre::ShadowTextureDefinition::split |
Real Ogre::ShadowTextureDefinition::splitBlend |
Real Ogre::ShadowTextureDefinition::splitFade |
Real Ogre::ShadowTextureDefinition::splitPadding |
Vector2 Ogre::ShadowTextureDefinition::uvLength |
Vector2 Ogre::ShadowTextureDefinition::uvOffset |
float Ogre::ShadowTextureDefinition::xyPadding |