摘要:
1、step float step(float edge, float x) vec2 step(vec2 edge, vec2 x) vec3 step(vec3 edge, vec3 x) vec4 step(vec4 edge, vec4 x) GLSL 的 step 函数用于比较两个参数的大 阅读全文
posted @ 2025-10-12 21:39
MrZivChu
阅读(3)
评论(0)
推荐(0)
摘要:
void mainImage( out vec4 fragColor, in vec2 fragCoord ) { vec2 uv = fragCoord/iResolution.xy; // 标准化坐标 [0,1] uv.x *= iResolution.x / iResolution.y; // 阅读全文
posted @ 2025-10-12 21:26
MrZivChu
阅读(2)
评论(0)
推荐(0)

浙公网安备 33010602011771号