Skip to content

Commit

Permalink
Make normal accessible in fragment shader
Browse files Browse the repository at this point in the history
  • Loading branch information
hannobraun committed Oct 31, 2024
1 parent a136166 commit 25a303e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions experiments/2024-10-30/src/shader.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ var<uniform> transform: mat4x4<f32>;

struct VertexInput {
@location(0) position: vec3<f32>,
@location(1) normal: vec3<f32>,
}

struct VertexOutput {
Expand Down

0 comments on commit 25a303e

Please sign in to comment.