OGRE-Next  3.0.0
Object-Oriented Graphics Rendering Engine
Ogre::ShadowTextureDefinition Class Reference

Local texture definition. More...

#include <OgreCompositorShadowNodeDef.h>

+ Inheritance diagram for Ogre::ShadowTextureDefinition:

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
 

Detailed Description

Local texture definition.

Constructor & Destructor Documentation

◆ ShadowTextureDefinition()

Ogre::ShadowTextureDefinition::ShadowTextureDefinition ( ShadowMapTechniques  t,
const String texRefName,
const Vector2 _uvOffset,
const Vector2 _uvLength,
uint8  _arrayIdx,
size_t  _light,
size_t  _split 
)
inline

Member Function Documentation

◆ _setSharesSetupWithIdx()

void Ogre::ShadowTextureDefinition::_setSharesSetupWithIdx ( size_t  idx)
inline

◆ getSharesSetupWith()

size_t Ogre::ShadowTextureDefinition::getSharesSetupWith ( ) const
inline

◆ getTextureName()

IdString Ogre::ShadowTextureDefinition::getTextureName ( ) const
inline

◆ getTextureNameStr()

String Ogre::ShadowTextureDefinition::getTextureNameStr ( ) const
inline

Member Data Documentation

◆ arrayIdx

uint8 Ogre::ShadowTextureDefinition::arrayIdx

◆ autoConstantBiasScale

float Ogre::ShadowTextureDefinition::autoConstantBiasScale

0 to disable.

Non-zero to increase bias based on orthographic projection's window size.

◆ autoNormalOffsetBiasScale

float Ogre::ShadowTextureDefinition::autoNormalOffsetBiasScale

0 to disable.

Non-zero to increase bias based on orthographic projection's window size.

◆ constantBiasScale

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

◆ light

size_t Ogre::ShadowTextureDefinition::light

◆ normalOffsetBias

float Ogre::ShadowTextureDefinition::normalOffsetBias

Normal offset bias is per cascade / shadow map.

This is applied on top of the autocalculated bias from autoNormalOffsetBiasScale

◆ numSplits

uint32 Ogre::ShadowTextureDefinition::numSplits

◆ numStableSplits

uint32 Ogre::ShadowTextureDefinition::numStableSplits

◆ pssmLambda

Real Ogre::ShadowTextureDefinition::pssmLambda

◆ shadowMapTechnique

ShadowMapTechniques Ogre::ShadowTextureDefinition::shadowMapTechnique

◆ split

size_t Ogre::ShadowTextureDefinition::split

◆ splitBlend

Real Ogre::ShadowTextureDefinition::splitBlend

◆ splitFade

Real Ogre::ShadowTextureDefinition::splitFade

◆ splitPadding

Real Ogre::ShadowTextureDefinition::splitPadding

◆ uvLength

Vector2 Ogre::ShadowTextureDefinition::uvLength

◆ uvOffset

Vector2 Ogre::ShadowTextureDefinition::uvOffset

◆ xyPadding

float Ogre::ShadowTextureDefinition::xyPadding

The documentation for this class was generated from the following file: