|
|
|
@ -162,7 +162,7 @@ const sdf_vs_src = `#version 300 es
@@ -162,7 +162,7 @@ const sdf_vs_src = `#version 300 es
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
vec2 pos = origin + normalize(outwards) * radius; |
|
|
|
|
screen02 = (pos.xy * u_scale + u_translation) / u_res + outwards * pixel; |
|
|
|
|
screen02 = (pos.xy * u_scale + u_translation) / u_res * 2.0 + outwards * pixel; |
|
|
|
|
v_texcoord = pos.xy + outwards * rscale; |
|
|
|
|
|
|
|
|
|
screen02.y = 2.0 - screen02.y; |
|
|
|
|