#include <OgreShaderExTriplanarTexturing.h>
◆ setParameters()
virtual void Ogre::RTShader::TriplanarTexturing::setParameters |
( |
const Vector3 & |
parameters | ) |
|
|
virtual |
Sets the parameters.
- Parameters
-
parameters | Parameters: Texturescale, Plateau-size (0 to 0.57, not bigger to avoid division by zero!), transition-speed. |
◆ setTextureNames()
virtual void Ogre::RTShader::TriplanarTexturing::setTextureNames |
( |
const String & |
textureNameFromX, |
|
|
const String & |
textureNameFromY, |
|
|
const String & |
textureNameFromZ |
|
) |
| |
|
virtual |
Sets the texture names for the mapping.
- Parameters
-
textureNameFromX | The texture mapping from x. |
textureNameFromY | The texture mapping from y. |
textureNameFromZ | The texture mapping from z. |
◆ getType()
const String& Ogre::RTShader::TriplanarTexturing::getType |
( |
| ) |
const |
|
overridevirtual |
◆ getExecutionOrder()
int Ogre::RTShader::TriplanarTexturing::getExecutionOrder |
( |
| ) |
const |
|
overridevirtual |
◆ preAddToRenderState()
bool Ogre::RTShader::TriplanarTexturing::preAddToRenderState |
( |
const RenderState * |
renderState, |
|
|
Pass * |
srcPass, |
|
|
Pass * |
dstPass |
|
) |
| |
|
overridevirtual |
◆ copyFrom()
void Ogre::RTShader::TriplanarTexturing::copyFrom |
( |
const SubRenderState & |
rhs | ) |
|
|
overridevirtual |
◆ updateGpuProgramsParams()
◆ type
String Ogre::RTShader::TriplanarTexturing::type |
|
static |
The documentation for this class was generated from the following file: