Benjamin_Loison
|
57ce3a64ed
|
Try shifting chunks with uniform
|
2022-10-22 20:43:39 +02:00 |
|
Benjamin_Loison
|
655978efc2
|
Pass directly normal to the fragment shader
|
2022-10-22 19:47:40 +02:00 |
|
Benjamin_Loison
|
33628ef7bc
|
loading all chunks at the same place
|
2022-10-19 01:50:49 +02:00 |
|
Benjamin_Loison
|
f9d77ea119
|
Should make biomes working but it doesn't (using hardcode)
|
2022-10-17 03:26:19 +02:00 |
|
Benjamin_Loison
|
c526ebe977
|
Ready to use an uniform array of textures for the biomes
|
2022-10-17 02:35:05 +02:00 |
|
Benjamin_Loison
|
02e28b2bc8
|
Use altitude: f32 and index: u32 instead of respectively position: vec3 and tex_coords: vec2
It reduces GPU memory usage from 20-21MiB to 16-17MiB.
|
2022-10-17 01:38:18 +02:00 |
|
Benjamin_Loison
|
e6e30712b0
|
Remove a useless variable in the vertex shader
|
2022-10-17 00:27:44 +02:00 |
|
Benjamin_Loison
|
e4f634a441
|
Make backface culling ready to use
|
2022-10-16 23:46:51 +02:00 |
|
Benjamin_Loison
|
5236c99383
|
Display a ground chunk with a given biome
|
2022-10-16 23:30:23 +02:00 |
|
Benjamin_Loison
|
d75a564805
|
Removed commented OBJ loader that should have been removed before 3e64f976ca
|
2022-10-16 23:05:23 +02:00 |
|
Benjamin_Loison
|
ea07e78b18
|
Display two textured triangles in 3D
|
2022-10-16 22:57:32 +02:00 |
|
Benjamin_Loison
|
238052c8a8
|
Display two not textured triangles in 3D with camera with horizontal rotation
Thanks to `glium/examples/teapot` which was loading an OBJ and not having any rotation for the camera.
|
2022-10-16 22:27:32 +02:00 |
|
Benjamin_Loison
|
2d19b54f97
|
Add initial README.md, Cargo.toml and src/main.rs
|
2022-10-16 19:02:59 +02:00 |
|