mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-19 04:10:54 +00:00
fix forward lit shaders in debug mode
This commit is contained in:
parent
e5ac88e914
commit
5b18051b5d
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ void DebugVizHLSL::processPix(Vector<ShaderComponent*>& componentList,
|
|||
dSprintf(buf, sizeof(buf), " @ = %s;\r\n", showDiff);
|
||||
newMeta->addStatement(new GenOp(buf, new DecOp(showDiffVar)));
|
||||
|
||||
String computeForwardProbes = String(" @ = debugVizForwardProbes(@,@,@,@,@,@,@,@,\r\n\t\t");
|
||||
String computeForwardProbes = String(" @.rgb = debugVizForwardProbes(@,@,@,@,@,@,@,@,\r\n\t\t");
|
||||
computeForwardProbes += String("@,TORQUE_SAMPLER2D_MAKEARG(@),\r\n\t\t");
|
||||
computeForwardProbes += String("TORQUE_SAMPLERCUBEARRAY_MAKEARG(@),TORQUE_SAMPLERCUBEARRAY_MAKEARG(@), @, @, @, @).rgb; \r\n");
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue