feat: more work on tree graphics

This commit is contained in:
Sara 2025-05-28 19:33:15 +02:00
parent 4f525b2b16
commit 1f76dbbc8a
22 changed files with 1591 additions and 4 deletions

View file

@ -0,0 +1,19 @@
shader_type spatial;
uniform sampler2D albedo : hint_default_black, source_color;
void vertex() {
}
void fragment() {
// Called for every pixel the material is visible on.
vec4 col = texture(albedo, UV);
ALPHA = col.w;
ALBEDO = col.xyz;
}
//void light() {
// // Called for every pixel for every light affecting the material.
// // Uncomment to replace the default light processing function with this one.
//}