18 lines
388 B
Text
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.
|
|
//}
|