Skip to content

Instantly share code, notes, and snippets.

@jimmyjonezz
Created November 13, 2018 11:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jimmyjonezz/e8ba26015e818627f45129483cdf23e8 to your computer and use it in GitHub Desktop.
Save jimmyjonezz/e8ba26015e818627f45129483cdf23e8 to your computer and use it in GitHub Desktop.
texture color from uniform
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