mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
Update shaderFeatureGLSL.cpp
This commit is contained in:
parent
c9116dd4a4
commit
5d392e373e
|
|
@ -985,8 +985,8 @@ void DiffuseMapFeatGLSL::setTexData( Material::StageData &stageDat,
|
|||
RenderPassData &passData,
|
||||
U32 &texIndex )
|
||||
{
|
||||
GFXTextureObject *tex = stageDat.getTex( MFT_DiffuseMap );
|
||||
passData.mSamplerNames[ texIndex ] = "diffuseMap";
|
||||
GFXTextureObject *tex = stageDat.getTex( MFT_DiffuseMap );
|
||||
if ( tex )
|
||||
passData.mTexSlot[ texIndex++ ].texObject = tex;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue