Function Material.nextPass
Sets the Material to be used for the next pass. This renders the object again using a different material.
Note: only applies to SpatialMaterials and ShaderMaterials with type "Spatial".
Sets the Material to be used for the next pass. This renders the object again using a different material.
Note: only applies to SpatialMaterials and ShaderMaterials with type "Spatial".