32#ifndef __SO3RTSS_CUSTOM_H__
33#define __SO3RTSS_CUSTOM_H__
37#include "OgreShaderPrecompiledHeaders.h"
48 const Ogre::String&
getType()
const override;
52 void copyFrom(
const Ogre::RTShader::SubRenderState& rhs)
override;
54 bool preAddToRenderState(
const Ogre::RTShader::RenderState* renderState, Ogre::Pass* srcPass, Ogre::Pass* dstPass)
override;
61 bool setParameter(
const Ogre::String& name,
const Ogre::String& value)
override;
66 Ogre::String mMetalRoughnessMapName;
69 uint8 mMRMapSamplerIndex;
70 Ogre::int8 mLtcLUT1SamplerIndex;
76 const Ogre::String&
getType()
const override;
78 Ogre::RTShader::SubRenderState*
createInstance(Ogre::ScriptCompiler* compiler, Ogre::PropertyAbstractNode* prop, Ogre::Pass* pass,
79 Ogre::RTShader::SGScriptTranslator* translator)
override;
80 void writeInstance(Ogre::MaterialSerializer* ser, Ogre::RTShader::SubRenderState* subRenderState, Ogre::Pass* srcPass, Ogre::Pass* dstPass)
override;
void writeInstance(Ogre::MaterialSerializer *ser, Ogre::RTShader::SubRenderState *subRenderState, Ogre::Pass *srcPass, Ogre::Pass *dstPass) override
const Ogre::String & getType() const override
Ogre::RTShader::SubRenderState * createInstance(Ogre::ScriptCompiler *compiler, Ogre::PropertyAbstractNode *prop, Ogre::Pass *pass, Ogre::RTShader::SGScriptTranslator *translator) override
Ogre::RTShader::SubRenderState * createInstanceImpl() override
const Ogre::String & getType() const override
bool createCpuSubPrograms(Ogre::RTShader::ProgramSet *programSet) override
const Ogre::String & getMetalRoughnessMapName() const
AdvancedCookTorranceLighting()
bool preAddToRenderState(const Ogre::RTShader::RenderState *renderState, Ogre::Pass *srcPass, Ogre::Pass *dstPass) override
void copyFrom(const Ogre::RTShader::SubRenderState &rhs) override
bool setParameter(const Ogre::String &name, const Ogre::String &value) override
int getExecutionOrder() const override
const Ogre::String SRS_ADV_COOK_TORRANCE_LIGHTING