mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Update shaderFeatureGLSL.cpp
This commit is contained in:
parent
c9116dd4a4
commit
5d392e373e
1 changed files with 1 additions and 1 deletions
|
|
@ -985,8 +985,8 @@ void DiffuseMapFeatGLSL::setTexData( Material::StageData &stageDat,
|
||||||
RenderPassData &passData,
|
RenderPassData &passData,
|
||||||
U32 &texIndex )
|
U32 &texIndex )
|
||||||
{
|
{
|
||||||
GFXTextureObject *tex = stageDat.getTex( MFT_DiffuseMap );
|
|
||||||
passData.mSamplerNames[ texIndex ] = "diffuseMap";
|
passData.mSamplerNames[ texIndex ] = "diffuseMap";
|
||||||
|
GFXTextureObject *tex = stageDat.getTex( MFT_DiffuseMap );
|
||||||
if ( tex )
|
if ( tex )
|
||||||
passData.mTexSlot[ texIndex++ ].texObject = tex;
|
passData.mTexSlot[ texIndex++ ].texObject = tex;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue