mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-20 15:13:45 +00:00
Goes and replaces the references/names that use Prepass to be Deferred, since we're actually using deferred.
This commit is contained in:
parent
b052a1f970
commit
af8fbf0e3a
122 changed files with 641 additions and 641 deletions
|
|
@ -519,7 +519,7 @@ void LightingShaderConstants::init(GFXShader* shader)
|
|||
mLightSpotParamsSC = shader->getShaderConstHandle("$lightSpotParams");
|
||||
|
||||
// NOTE: These are the shader constants used for doing lighting
|
||||
// during the forward pass. Do not confuse these for the prepass
|
||||
// during the forward pass. Do not confuse these for the deferred
|
||||
// lighting constants which are used from AdvancedLightBinManager.
|
||||
mLightPositionSC = shader->getShaderConstHandle( ShaderGenVars::lightPosition );
|
||||
mLightDiffuseSC = shader->getShaderConstHandle( ShaderGenVars::lightDiffuse );
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ struct LightingShaderConstants
|
|||
|
||||
// NOTE: These are the shader constants used for doing
|
||||
// lighting during the forward pass. Do not confuse
|
||||
// these for the prepass lighting constants which are
|
||||
// these for the deferred lighting constants which are
|
||||
// used from AdvancedLightBinManager.
|
||||
GFXShaderConstHandle *mLightPositionSC;
|
||||
GFXShaderConstHandle *mLightDiffuseSC;
|
||||
|
|
|
|||
|
|
@ -90,7 +90,7 @@ void ShadowMaterialHook::init( BaseMatInstance *inMat )
|
|||
forced.setBlend( false );
|
||||
forced.setAlphaTest( false );
|
||||
|
||||
// We should force on zwrite as the prepass
|
||||
// We should force on zwrite as the deferred
|
||||
// will disable it by default.
|
||||
forced.setZReadWrite( true, true );
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue