Tweak lighting shaders, add commented versions without normal mapping

This commit is contained in:
2024-06-20 16:33:23 +01:00
parent 935f09f08e
commit 7162893c4f
6 changed files with 13 additions and 7 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ defaultLS =
, _lsParam =
LSParam
{ _lsPos = V3 0 0 50
, _lsRad = 450
, _lsRad = 200
, _lsCol = 0.6
}
, _lsDir = 0
+1 -1
View File
@@ -130,7 +130,7 @@ youLight :: TempLightSource
youLight = TLS
{ _tlsParam = LSParam
{_lsPos = V3 0 0 0
,_lsRad = 300
,_lsRad = 150
,_lsCol = 0.1
}
,_tlsUpdate = \w _ -> Just (youLight & tlsParam . lsPos .~ f (_crPos $ you w))