diff --git a/armory/Shaders/deferred_light/deferred_light.frag.glsl b/armory/Shaders/deferred_light/deferred_light.frag.glsl index 65f96b91b..3bbd86d22 100644 --- a/armory/Shaders/deferred_light/deferred_light.frag.glsl +++ b/armory/Shaders/deferred_light/deferred_light.frag.glsl @@ -443,7 +443,7 @@ void main() { #ifdef _Spot #ifdef _SSS - if (matid == 2) fragColor.rgb += fragColor.rgb * SSSSTransmittance(LWVPSpot0, p, n, normalize(pointPos - p), lightPlane.y, shadowMapSpot[0]);//TODO implement transparent shadowmaps into the SSSSTransmittance() + if (matid == 2) fragColor.rgb += fragColor.rgb * SSSSTransmittance(LWVPSpot[0], p, n, normalize(pointPos - p), lightPlane.y, shadowMapSpot[0]);//TODO implement transparent shadowmaps into the SSSSTransmittance() #endif #endif