mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-03-06 14:00:39 +00:00
shifts spotlightparams to the actually used float2/vec2 entries (stops debug screaming every frame)
This commit is contained in:
parent
e75124fdf7
commit
0f2fd9baaa
5 changed files with 5 additions and 5 deletions
|
|
@ -2234,7 +2234,7 @@ void RTLightingFeatHLSL::processPix( Vector<ShaderComponent*> &componentList,
|
|||
inLightSpotDir->arraySize = 4;
|
||||
inLightSpotDir->constSortPos = cspPotentialPrimitive;
|
||||
|
||||
Var * lightSpotParams = new Var( "lightSpotParams", "float4" );
|
||||
Var * lightSpotParams = new Var( "lightSpotParams", "float2" );
|
||||
lightSpotParams->uniform = true;
|
||||
lightSpotParams->arraySize = 4;
|
||||
lightSpotParams->constSortPos = cspPotentialPrimitive;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue