# Materials: Commands {#mat_commands} ## depthwrite ### Syntax **depthWrite** ### 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.