nuclide/Documentation/Materials/commands/depthwrite.md

13 lines
307 B
Markdown
Raw Permalink 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.md) passes will happen
2022-10-03 00:10:54 +00:00
for opaque surfaces and not for translucent surfaces.
Blended surfaces can have the depth writes forced with this function.