Implement textured walls

This commit is contained in:
2021-03-21 20:09:11 +01:00
parent 23fbee3374
commit e6c76da6b3
4 changed files with 25 additions and 6 deletions
+1 -1
View File
@@ -69,7 +69,7 @@ preloadRender = do
-- wallShader
wlShad <- makeShader "wallFace" [vert,geom,frag] [(0,4),(1,4)] Points pokeWPColStrat
>>= addTexture "data/texture/smudgedDirt.png"
>>= addTexture "data/texture/grayscaleDirt.png"
>>= addUniforms ["perpMat"]
-- framebuffer for lighting