Created
November 13, 2018 11:06
-
-
Save jimmyjonezz/e8ba26015e818627f45129483cdf23e8 to your computer and use it in GitHub Desktop.
texture color from uniform
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; | |
render_mode unshaded; | |
uniform vec4 color: hint_color; | |
void fragment(){ | |
COLOR = texture(TEXTURE, UV) + vec4(color); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment