mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-04-26 06:45:36 +00:00
Merge pull request #125 from Azaezel/alpha40_spotlightSlimdown
shifts spotlightparams to the actually used float2/vec2 entries
This commit is contained in:
commit
a6f41f271d
5 changed files with 5 additions and 5 deletions
|
|
@ -241,7 +241,7 @@ vec4 compute4Lights( Surface surface,
|
|||
vec4 inLightConfigData[4],
|
||||
vec4 inLightColor[4],
|
||||
vec4 inLightSpotDir[4],
|
||||
vec4 lightSpotParams[4],
|
||||
vec2 lightSpotParams[4],
|
||||
int hasVectorLight,
|
||||
vec4 vectorLightDirection,
|
||||
vec4 vectorLightingColor,
|
||||
|
|
|
|||
|
|
@ -247,7 +247,7 @@ float4 compute4Lights( Surface surface,
|
|||
float4 inLightConfigData[4],
|
||||
float4 inLightColor[4],
|
||||
float4 inLightSpotDir[4],
|
||||
float4 lightSpotParams[4],
|
||||
float2 lightSpotParams[4],
|
||||
int hasVectorLight,
|
||||
float4 vectorLightDirection,
|
||||
float4 vectorLightingColor,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue