Files
godot-docs/tutorials
Samuel Ammonius 4b8fbb8939 Update canvas_item_shader.rst
I tested it and it is upper left, not lower left.
This is the CanvasItem shader I used to test it:

shader_type canvas_item;

void fragment() {

	if(distance(FRAGCOORD.xy, vec2(40, 40)) < 30.0)
		COLOR = vec4(1,0,0,1);
	else
		COLOR = vec4(0,0,0,1);
}

(cherry picked from commit b71cec668a)
2024-07-24 20:31:40 +02:00
..
2024-07-24 20:30:18 +02:00
2023-11-11 17:07:39 +01:00
2024-07-24 20:31:19 +02:00
2024-07-24 20:31:40 +02:00