Play with floor textures

This commit is contained in:
2023-03-18 22:31:24 +00:00
parent 49f96ab18e
commit 70c15fea5d
12 changed files with 68 additions and 33 deletions
+2 -1
View File
@@ -28,7 +28,7 @@ data RenderData = RenderData
, _wallBlankShader :: FullShader
, _windowShader :: FullShader
, _wallTextureShader :: FullShader
, _textureArrayShader :: (FullShader,VBO)
-- , _textureArrayShader :: (FullShader,VBO)
, _fullscreenShader :: (FullShader,VBO)
, _bloomBlurShader :: FullShader
, _colorBlurShader :: FullShader
@@ -59,6 +59,7 @@ data RenderData = RenderData
, _floorVBO :: VBO
, _floorShader :: FullShader
, _toNormalMaps :: TO
, _toDiffuse :: TO
}
makeLenses ''RenderData
+1 -1
View File
@@ -18,7 +18,7 @@ data Tile = Tile
-- ^ world position one along in the X direction, note this also set the scale of the
-- texture
-- this has to be a position because it is shifted
, _tileZ :: Float
, _tileArrayZ :: Float
}
deriving (Eq, Ord, Show)
makeLenses ''Floor