Internal
The base material of mesh that is updated to work with depth prepass and then used. This parameter is a template for depth prepass material that is returned.
depth prepass material, which is a clone of baseMaterial
with the adapted settings.
Creates material that writes only to the z-buffer. Updates the original material instance, to support depth prepass.
Generated using TypeDoc
Creates material for depth prepass.