idk getting back to it

This commit is contained in:
2025-08-19 16:56:44 -05:00
parent 0f3db7c4a4
commit 5cd8b8a04b
17 changed files with 342 additions and 67 deletions

View File

@@ -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;
}