mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-28 02:53:49 +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
|
|
@ -2188,7 +2188,7 @@ void RTLightingFeatGLSL::processPix( Vector<ShaderComponent*> &componentList,
|
|||
inLightSpotDir->arraySize = 4;
|
||||
inLightSpotDir->constSortPos = cspPotentialPrimitive;
|
||||
|
||||
Var * lightSpotParams = new Var( "lightSpotParams", "vec4" );
|
||||
Var * lightSpotParams = new Var( "lightSpotParams", "vec2" );
|
||||
lightSpotParams->uniform = true;
|
||||
lightSpotParams->arraySize = 4;
|
||||
lightSpotParams->constSortPos = cspPotentialPrimitive;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue