scpcb-godot/shaders/ScreenPosRepeat.gdshader

19 lines
389 B
Text
Raw Normal View History

2024-12-23 04:15:54 +00:00
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.
//}