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.

Exclude lights from reflections

Home Forums Graphics / Blender Exclude lights from reflections

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #47034
    gregor1
    Customer

    Is it possible to exclude the visibility of light sources from reflecting in a glossy surface? They are not visible in the scene so I don’t want them visible in reflective surfaces, especially where I’m using a reflection plane or a cube map. I can eliminate them in Blender but they are persistent in Verge.

    #47035
    xeon
    Customer

    I ran into this issue as well on one of my projects. https://webgl.r66dapps.com/escapev1/. I had lots of lights initially.
    Unfortunately, if you have lights in your blender scene you will have lights in your reflections verge3d scene.

    In order to control what is reflected in your reflection plan and cube map you will need to modify your lighting paradigm. Take a look at the scooter demo that comes with verge3d.

    The overall idea is to light your scene with and HDR environment…then have a small environmental sphere or object that will reflect in your scene. This can be a white sphere, or background image…. basically a 3d 360 cyc wall. Your light probes will only pickup the reflection of the cyc wall and you wont have any environmental reflections from the HDR. This method completely eliminates the need for lights.

    Note: if you need to have a specific light reflect you can setup a emissive object to represent your light and it will show up in a reflection without being a light.

    Overall lights are just bad for Verge3d and WebGL in general. They make the scene extremely heavy and slow the performance so avoid them at all costs if possible.

    Note…light probes are costly too with respect to performance and because they are cubic or planar they dont always do a great job at reflections but they get us by until something better shows up.

    Xeon
    Route 66 Digital
    Interactive Solutions - https://www.r66d.com
    Tutorials - https://www.xeons3dlab.com

    #47047
    gregor1
    Customer

    Thanks – you confirmed what I suspected. I find lights to be manageable as long as I turn shadows off. Better start baking!
    It does seem like an obvious opportunity for improvement though. I don’t know why anyone would want big white spots showing in their reflections.
    Nice escape room by the way!
    Greg

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