We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.

Layer independent lighting

Home Forums General Questions Layer independent lighting

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #84230
    adamabr
    Customer

    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!

    #84231
    adamabr
    Customer

    Test Gif

    (Not related) Just testing to see if GIFs are supported in here.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.