build preview update
This commit is contained in:
15
Shaders/build_transparent.gdshader
Normal file
15
Shaders/build_transparent.gdshader
Normal file
@@ -0,0 +1,15 @@
|
||||
shader_type spatial;
|
||||
uniform float alpha;
|
||||
void vertex() {
|
||||
// Called for every vertex the material is visible on.
|
||||
}
|
||||
|
||||
void fragment() {
|
||||
ALBEDO = vec3(0,1.0,0);
|
||||
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.
|
||||
//}
|
||||
Reference in New Issue
Block a user