SPS with billboard vs frame graph

Repro: Babylon.js Playground

SPS uses scene.activeCamera on instantiation but using frame graph means scene.activeCamera = null. Error won’t show if SPS is not using billboard = true.

I don’t see a workaround in the docs, guess this is a bug?
Had to ask to be sure, sorry for posting on a Friday…

It’s not a bug per see, some features are not yet supported in frame graphs. This one wasn’t tracked, so I added it to the list:

Thanks for reporting!

2 Likes

Here’s the fix:

3 Likes

Thanks! Tested with v8.49.6, works!

2 Likes