1
0
mirror of https://github.com/CLfamilaris/VRDOM.git synced 2024-11-30 13:34:29 +01:00
VRDOM/shaders/ColorSwap.gdshader

10 lines
228 B
Plaintext
Raw Permalink Normal View History

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;
2023-08-04 23:07:24 +02:00
EMISSION = ALBEDO;
ALPHA = albedo_tex.a;
}