scpcb-godot/shaders/ScreenPosRepeat.gdshader
2024-12-29 13:15:03 +00:00

18 lines
388 B
Text

shader_type canvas_item;
uniform sampler2D loop_texture;
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
vec4 silly = texture(loop_texture, SCREEN_UV);
COLOR = silly;
}
//void light() {
// Called for every pixel for every light affecting the CanvasItem.
// Uncomment to replace the default light processing function with this one.
//}