Files
project-thor/Shaders/build_transparent.gdshader
2025-08-15 20:35:27 +02:00

18 lines
362 B
Plaintext

shader_type spatial;
//uniform float alpha;
uniform vec3 color;
void vertex() {
// Called for every vertex the material is visible on.
}
void fragment() {
ALBEDO = color;
ALPHA = 0.5;
}
//void light() {
// // Called for every pixel for every light affecting the material.
// // Uncomment to replace the default light processing function with this one.
//}