13 lines
326 B
Markdown
13 lines
326 B
Markdown
|
# Materials: Commands {#mat_commands}
|
||
|
## depthwrite
|
||
|
### Syntax {#syntax}
|
||
|
|
||
|
**depthWrite**
|
||
|
|
||
|
### Overview {#overview}
|
||
|
|
||
|
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.
|