wonky edge shader
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user