I’m curious if anyone has successfully managed to divide their V3D apps into different layers so that they can use different lights and cameras for each scene. The point of this would be to get artistic control over the layers. Currently, every object shares the same lights and camera. It would be very convenient to be able of creating a UI layer that has its own environment map and lights. I’ve found that 3D UI elements can be tricky (shaded ones) as the lights change as you move your camera around. Sometimes they look good, other times bad.
I have managed to combine two separate V3D app instances that communicate with each other over Post Message commands. It almost works all the way but the issue is that I can’t reach the layer underneath. We’d have to do some sort of DOM tunneling for that to work fully. Also it might cause more GPU load than one scene.
So I’ve been thinking if there is any other way. It would be perfect if there was some sort of render layer approach one could use inside of one app.
Appreciate any thoughts on this.
Thank you!