Created
June 14, 2018 19:10
-
-
Save henriquelalves/edbbd1280c0f0648d7b131d522e508eb to your computer and use it in GitHub Desktop.
simple_shader
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 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