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.

Append scene update shadows

Home Forums General Questions Append scene update shadows

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #43323
    web
    Customer

    Hey guys,
    for a current project I splitted the scene into multiple parts. Starting with a “init” scene which only contains cameras and lights. On runtime I append the different geometries without any lights or cameras. Problem I’ve got is that the shadows doesnt seem to work. Current workaround I’ve found is creating a plane in that “init” scene, which covers the whole area where I need shadows to be.

    Just wanted to ask if there is any other “proper” way to get around this? Maybe something like a “updateShadowMap” function?

    #43325

    Hi,
    For what kind of light (Point,Spot etc) you try to setup shadows?

    Verge3D’s Tech Chief
    FB | Twitter | VK

    #43326
    web
    Customer

    Just a simple “Free Directional Light”

    #43335

    Hi,

    Unfortunately, this light type is not so easy to support for dynamic loading. We calculate size of the shadow volume in the original scene and export it in the asset, so it does not get extended in the engine itself. The method you’ve chosen (with additional plane) works pretty good though.

    Anyway, I’m going to add this issue in our TODO list.

    Verge3D’s Tech Chief
    FB | Twitter | VK

    #43375
    web
    Customer

    Okay, thx for the write up. :good:

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