Skip to content

Commit

Permalink
Merge pull request #3101 from t3du/fixLight
Browse files Browse the repository at this point in the history
fix error deferred_light.frag.glsl: variable LWVPSpot0
  • Loading branch information
luboslenco authored Dec 17, 2024
2 parents 6f10ca4 + 681b358 commit b8b9214
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion armory/Shaders/deferred_light/deferred_light.frag.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit b8b9214

Please sign in to comment.