Files
Scoom/assets/shader/no_depth.gdshader
2023-01-15 23:59:12 +01:00

9 lines
181 B
Plaintext

shader_type spatial;
render_mode cull_back;
uniform float z_offset : hint_range(-1, 1);
void fragment() {
// write the final depth value to the depth buffer
DEPTH = 0.9;
}