Correct projected wall shadows when there is an offset camera

This commit is contained in:
2021-03-19 15:51:11 +01:00
parent 5a7be55e24
commit bd7a5c3533
6 changed files with 81 additions and 40 deletions
+1 -1
View File
@@ -46,7 +46,7 @@ preloadRender = do
"data/texture/smudgedDirt.png"
wsShad <- makeShaderCustomUnis "wallShadow" [vert,geom,frag] [(0,4)] Points pokeWPStrat
["lightPos"]
["lightPos","perpMat"]
wlLightShad <- makeShaderCustomUnis "wallLight" [vert,frag] [(0,3)] TriangleStrip pokeLightWallStrat
["lightPosRadLum"]