idk getting back to it
This commit is contained in:
1 parent
0f3db7c4a4
commit
5cd8b8a04b
17 files changed
+342
-67
No files matched your search
@@ -2,6 +2,7 @@ shader_type spatial;
|
||||
render_mode unshaded;
|
||||
|
||||
uniform sampler2D text;
|
||||
uniform vec4 color: source_color = vec4(1.0, 1.0, 1.0, 1.0);
|
||||
|
||||
//void vertex() {
|
||||
//
|
||||
@@ -9,6 +10,6 @@ uniform sampler2D text;
|
||||
|
||||
void fragment() {
|
||||
vec4 tex_color = texture(text, UV);
|
||||
ALBEDO = tex_color.rgb;
|
||||
ALPHA = tex_color.a;
|
||||
ALBEDO = tex_color.rgb * color.rgb;
|
||||
ALPHA = tex_color.a * color.a;
|
||||
}
|
||||
Reference in new issue
Block a user