show dbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shader_type canvas_item; | |
uniform vec4 edge_color : hint_color = vec4(0.4, 0.4,0.4,1); | |
uniform vec2 resolution = vec2(800.0,600.0); | |
void fragment(){ | |
float width = resolution.x; | |
float height = resolution.y; | |
float w = 1.0 / width; | |
float h = 1.0 / height; |