Commit Graph

8 Commits (8c5d6766aaca1ce3ac87ddfd661753485e7ddeff)

Author SHA1 Message Date
Elias Fleckenstein 60de012f46 Frustum culling 2021-08-24 15:50:27 +02:00
Elias Fleckenstein c26c61c4d8 Improve batch rendering: Use multiple OpenGL texture units
- Instead of creating a seperate mesh for every texture, each mesh now uses multiple texture bound to different units to reduce the total number of meshes.
- Use OpenGL version to 4.6
- Use OpenGL alpha testing instead of manual discard in fragment shader
2021-08-23 18:06:57 +02:00
Elias Fleckenstein bca9bcffd1 Redesign file structure and graphics pipeline; add font rendering 2021-07-15 21:41:59 +02:00
Elias Fleckenstein e5d01c197f Add biomes that determine grass color 2021-07-13 11:03:31 +02:00
Elias Fleckenstein c1d65623dc Add color to vertices 2021-07-13 08:52:09 +02:00
Elias Fleckenstein e991ab5c6d Support transparent textures 2021-07-12 17:39:21 +02:00
Elias Fleckenstein eea6a34554 Add textures 2021-06-22 18:36:59 +02:00
Elias Fleckenstein b26f5a5bb7 Add shaders 2021-03-27 18:36:43 +01:00