Pass directly normal to the fragment shader

This commit is contained in:
2022-10-22 19:47:40 +02:00
parent 33628ef7bc
commit 655978efc2
2 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -83,7 +83,7 @@ pub fn load_ground(display: &Display) -> VertexBufferAny {
biome: u32,
}
implement_vertex!(Vertex, altitude, normal, index);
implement_vertex!(Vertex, altitude, normal, index, biome);
let mut vertex_data: Vec<Vertex> = Vec::new();