Default rendering Pipeline and multiple cameras

#1

Looks like if i have multiple cameras in the scene and create a Default rendering Pipeline the lights are gone on the second camera.

Im using the Sandbox Inspector.

1 Like
#2

Can you provide a scene to test it?

#3

Will do one tomorrow.

#4

Here is the scene file and a video.
There are two problems.

  1. One is that the Default rendering Pipeline is working only on the first Camera.

  2. If i turn off a light i cant trun it back on and its also only shown in one Camera.

cam_troubles.zip (1.3 MB)

#5

It’s probably just the Inspector which link a new pipeline to the current camera only. But when using the pipeline in your own app you just have to send an array of cameras in the constructor: DefaultRenderingPipeline - Babylon.js Documentation

(simple way is to write scene.cameras in the camera parameter)

#6

Thanks for the hint.
Noted.

#7

Yes by default the inspector will only apply the pipeline to the activecamera