mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-24 22:59:24 +00:00
DX11 accumulation shadergen fix.
This commit is contained in:
parent
b1b235a4c3
commit
ddfa4eaf18
1 changed files with 5 additions and 1 deletions
|
|
@ -65,7 +65,11 @@ void AccuTexFeatHLSL::processPix( Vector<ShaderComponent*> &componentList,
|
||||||
|
|
||||||
// accu map
|
// accu map
|
||||||
Var *accuMap = new Var;
|
Var *accuMap = new Var;
|
||||||
accuMap->setType( "sampler2D" );
|
if (mIsDirect3D11)
|
||||||
|
accuMap->setType("SamplerState");
|
||||||
|
else
|
||||||
|
accuMap->setType("sampler2D");
|
||||||
|
|
||||||
accuMap->setName( "accuMap" );
|
accuMap->setName( "accuMap" );
|
||||||
accuMap->uniform = true;
|
accuMap->uniform = true;
|
||||||
accuMap->sampler = true;
|
accuMap->sampler = true;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue