xiandie/scene/entity/ux/刮刮乐.gdshader
2025-05-22 04:16:27 +08:00

11 lines
201 B
Plaintext

shader_type canvas_item;
uniform float grey_scale = .33;
uniform sampler2D sampler;
void fragment() {
//vec2 pos = VERTEX;
COLOR.a = step(COLOR.r, .0);
//COLOR.rgb = vec3(grey_scale - COLOR.r);
}