nuclide/Documentation/Materials/commands/depthwrite.md

13 lines
304 B
Markdown
Raw Normal View History

2022-10-03 00:10:54 +00:00
# Materials: Commands {#mat_commands}
## depthwrite
### Syntax
2022-10-03 00:10:54 +00:00
**depthWrite**
### Overview
2022-10-03 00:10:54 +00:00
By default, writes to the depth buffer when
[depthFunc](depthFunc) passes will happen
for opaque surfaces and not for translucent surfaces.
Blended surfaces can have the depth writes forced with this function.