Skip to content

Commit

Permalink
fix orientation of slice renderer
Browse files Browse the repository at this point in the history
  • Loading branch information
FreddyFunk committed Jan 16, 2024
1 parent 5595d25 commit ba10663
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apps/slice_renderer_shader.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ fn vs_main(
model: VertexInput,
) -> VertexOutput {
var out: VertexOutput;
out.tex_coords = 0.5 * vec2(model.position.x, model.position.y) + 0.5;
out.tex_coords = model.tex_coords;
out.clip_position = vec4<f32>(scale_factor * model.position, 1.0);
return out;
}
Expand Down

0 comments on commit ba10663

Please sign in to comment.