Pass directly normal to the fragment shader
This commit is contained in:
+1
-1
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user