This commit is contained in:
2023-03-07 22:42:41 +00:00
parent b68703c275
commit a32ea93e06
3 changed files with 15 additions and 118 deletions
-1
View File
@@ -44,7 +44,6 @@ doDrawing win pdata u = do
(wallPointsCol, windowPoints, wallSPics) = wallsToDraw w
lightPoints = lightsToRender cfig (w ^. cWorld . camPos) (w ^. cWorld . lWorld)
viewFroms@(V2 vfx vfy) = w ^. cWorld . camPos . camViewFrom
viewFrom3d = Vector3 vfx vfy 20
shadV = _pictureShaders pdata
lwShad = _lightingWallShadShader pdata
-- bind as much data into vbos as feasible at this point
+1 -1
View File
@@ -2,7 +2,7 @@ module Dodge.Render.Shadow where
import Shader.Parameters
import Shader.ExtraPrimitive
import Graphics.Rendering.OpenGL (currentProgram, ($=), bindVertexArrayObject, bindBuffer
import Graphics.Rendering.OpenGL ( ($=), bindVertexArrayObject, bindBuffer
, BufferTarget (..), bufferSubData, TransferDirection (..)
)
import Graphics.GL.Core43