diff --git a/Templates/BaseGame/game/core/lighting/scripts/advancedLighting_Shaders.tscript b/Templates/BaseGame/game/core/lighting/scripts/advancedLighting_Shaders.tscript index 964e9e045..1fcee6079 100644 --- a/Templates/BaseGame/game/core/lighting/scripts/advancedLighting_Shaders.tscript +++ b/Templates/BaseGame/game/core/lighting/scripts/advancedLighting_Shaders.tscript @@ -118,7 +118,7 @@ singleton GFXStateBlockData( AL_ConvexLightState ) samplerStates[3] = SamplerClampPoint; // colorBuffer samplerStates[4] = SamplerClampPoint; // matInfoBuffer samplerStates[5] = SamplerClampLinear; // Cookie Map - samplerStates[6] = SamplerClampLinear; // Cookie Map + samplerStates[6] = SamplerClampLinear; // iesProfile cullDefined = true; cullMode = GFXCullCW; @@ -191,10 +191,10 @@ singleton CustomMaterial( AL_SpotLightMaterial ) sampler["deferredBuffer"] = "#deferred"; sampler["shadowMap"] = "$dynamiclight"; + sampler["iesProfile"] = "$photometricmask"; sampler["cookieMap"] = "$dynamiclightmask"; sampler["colorBuffer"] = "#color"; sampler["matInfoBuffer"] = "#matinfo"; - sampler["iesProfile"] = "$photometricmask"; target = "AL_FormatToken"; pixVersion = 3.0;