glsl 坐标标准化

1
2
3
vec2 uv = fragCoord.xy / iResolution.xy;
uv = uv * 2.0 - 1.0;
uv.x *= iResolution.x / iResolution.y;
最后更新于 Sep 29, 2025 16:43 +0800