9 lines
181 B
Plaintext
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;
|
|
} |