18 lines
362 B
Plaintext
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 = alpha;
|
|
}
|
|
|
|
//void light() {
|
|
// // Called for every pixel for every light affecting the material.
|
|
// // Uncomment to replace the default light processing function with this one.
|
|
//}
|