Make overrideMaterial optional in RenderLayerPass
This commit is contained in:
@@ -82,7 +82,7 @@ class RenderLayerPass extends RenderPass {
|
|||||||
scene: Scene,
|
scene: Scene,
|
||||||
camera: Camera,
|
camera: Camera,
|
||||||
renderLayerMask: number,
|
renderLayerMask: number,
|
||||||
overrideMaterial: Material | null = null
|
overrideMaterial?: Material
|
||||||
) {
|
) {
|
||||||
super(scene, camera, overrideMaterial);
|
super(scene, camera, overrideMaterial);
|
||||||
this.renderLayerCamera = camera;
|
this.renderLayerCamera = camera;
|
||||||
|
|||||||
Reference in New Issue
Block a user