Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save henriquelalves/edbbd1280c0f0648d7b131d522e508eb to your computer and use it in GitHub Desktop.
Save henriquelalves/edbbd1280c0f0648d7b131d522e508eb to your computer and use it in GitHub Desktop.
simple_shader
shader_type spatial;
render_mode unshaded;
uniform float red = 1.0;
uniform float green = 1.0;
uniform float blue = 1.0;
void fragment() {
ALBEDO = vec3(red, green, blue);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment