game/map_editor/boundary.gdshader

13 lines
225 B
Plaintext
Raw Normal View History

2023-01-22 16:41:37 +01:00
shader_type spatial;
render_mode shadows_disabled, unshaded, cull_disabled;
void fragment() {
if (FRONT_FACING) {
ALBEDO = vec3(1.0, 0.0, 0.0);
ALPHA = 0.5;
} else {
ALBEDO = vec3(0.0, 1.0, 0.0);
ALPHA = 0.1;
}
}