First attempt at using exclusively depth pass with cap on near plane

This commit is contained in:
2021-08-31 10:32:27 +01:00
parent f797530cbc
commit cd0a82e526
3 changed files with 37 additions and 11 deletions
+2 -2
View File
@@ -93,8 +93,8 @@ youLight =
TLS { _tlsPos = V3 0 0 0
,_tlsRad = 300
,_tlsIntensity = 0.1
,_tlsUpdate = \w _ -> (w, Nothing)
--,_tlsUpdate = \w _ -> (w, Just (youLight {_tlsPos = f $ _crPos (you w)}))
--,_tlsUpdate = \w _ -> (w, Nothing)
,_tlsUpdate = \w _ -> (w, Just (youLight {_tlsPos = f $ _crPos (you w)}))
,_tlsTime = 0
}
where