Bit more cleanup.
This commit is contained in:
14
materials/WorldMaterialShader.gdshader
Normal file
14
materials/WorldMaterialShader.gdshader
Normal file
@@ -0,0 +1,14 @@
|
||||
shader_type spatial;
|
||||
render_mode unshaded;
|
||||
|
||||
uniform sampler2D text;
|
||||
|
||||
//void vertex() {
|
||||
//
|
||||
//}
|
||||
|
||||
void fragment() {
|
||||
vec4 tex_color = texture(text, UV);
|
||||
ALBEDO = tex_color.rgb;
|
||||
ALPHA = tex_color.a;
|
||||
}
|
Reference in New Issue
Block a user