mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-19 20:24:49 +00:00
DX11 accumulation shadergen fix.
This commit is contained in:
parent
b1b235a4c3
commit
ddfa4eaf18
|
|
@ -65,7 +65,11 @@ void AccuTexFeatHLSL::processPix( Vector<ShaderComponent*> &componentList,
|
|||
|
||||
// accu map
|
||||
Var *accuMap = new Var;
|
||||
accuMap->setType( "sampler2D" );
|
||||
if (mIsDirect3D11)
|
||||
accuMap->setType("SamplerState");
|
||||
else
|
||||
accuMap->setType("sampler2D");
|
||||
|
||||
accuMap->setName( "accuMap" );
|
||||
accuMap->uniform = true;
|
||||
accuMap->sampler = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue