wonky edge shader

This commit is contained in:
2025-12-19 14:58:46 -08:00
parent e97a2a375d
commit bd4ce78a0c

View File

@@ -211,7 +211,7 @@ fn ms_debug_edge(){
var cos_sin: vec2<f32> = vec2(cos(theta), sin(theta));
// construct basis vectors
var y_axis: vec4<f32> = v0_screen_position - v1_screen_position;
var y_axis: vec4<f32> = normalize(v0_screen_position - v1_screen_position);
var x_axis: vec4<f32> = y_axis.yxzw;
x_axis.x = -x_axis.x;