Browser freezes when specifiyng layers in RTT

Hello!
https://playground.babylonjs.com/#13MGNE

Uncomment line 39. It will produce many console.warn-ings and it freezes the browser (tab).
Why is it actually saying that the layer is out of range?
image

Thank you!

Hello! I’m sorry, my bad… I had a look at the source and I get this now. This is not a layer mask :slight_smile:

2 Likes