mirror of
https://github.com/CLfamilaris/VRDOM.git
synced 2024-11-27 20:20:49 +01:00
10 lines
228 B
Plaintext
10 lines
228 B
Plaintext
shader_type spatial;
|
|
render_mode unshaded;
|
|
uniform sampler2D texture_albedo : source_color;
|
|
void fragment()
|
|
{
|
|
vec4 albedo_tex = texture(texture_albedo, UV);
|
|
ALBEDO = albedo_tex.bgr;
|
|
EMISSION = ALBEDO;
|
|
ALPHA = albedo_tex.a;
|
|
} |