4 Commits

Author SHA1 Message Date
8aa0bb8aa0 Refactored ShapeRenderProgram into SRP and WorldRenderProgram
- ShapeRP now handles positions, textures and color multipliers only,
normals, view transforms and light calculations are now in WorldRP
- Renamed WorldRenderer to ShapeRenderHelper
- Moved normal computation to WorldRP code from Face
- No default ShapeRP exists, methods in Faces and Shapes now explicitly
require a program
- Removed unnecessary glBind from texture loader
- Refactored and renamed GLSL code
- Added a view bobbing test, enable with I_WANT_TO_THROW_UP in
LayerWorld
2020-08-01 00:24:38 +03:00
16205909ed Refactored texture loading: added caching and allowed loading from RAM 2020-07-31 14:42:28 +03:00
ed9a52c7a5 Added actual storage capabilities to ChunkData
Also a block can be changed at (0; 0; 0) by pressing G
2020-07-29 21:48:06 +03:00
e96a30c275 Initial commit 2020-07-29 12:30:34 +03:00