Announcement

Collapse
No announcement yet.

Dynamic Shadows on Spline Loft Actor

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    I seem to have achieved success! I switched the DominantDirectionalLight with a DominantDirectionalLightMovable.

    That "seems" to have worked.

    Screenshot:



    I sincerely hope that this is useful for others who are seeking a way to cast shadows onto Spline Lofts!

    -Neil

    Leave a comment:


  • replied
    Originally posted by Neongho View Post
    check in lightmass properties if Use global ilumination it's on and if it's not turn it on , and then the environment intensity to 1 , and make sure it's not black color.

    Hi Neon. :-) I verified everything. Everything is like you said. Still no luck.

    Leave a comment:


  • replied
    check in lightmass properties if Use global ilumination it's on and if it's not turn it on , and then the environment intensity to 1 , and make sure it's not black color.

    Leave a comment:


  • replied
    Was there ever a solution to this problem? I'm able to get PointLightMovable to cast shadows onto Spline Lofts, but am unable to get DominantDirectionalLights to cast shadows on SplineLofts.

    Any assistance here would be appreciated. :-)

    It should be noted, I have Object.Lightmass.bForceNoPrecomputedLighting=True in my world properties because I do not wish to use any static lighting or lightmass.

    This may seem kind of silly, but I decided to take a PointLightMovable and put it in the sky, but extremely far away. I then increased its radius to an astronomically huge value. This works surprisingly well at casting shadows on the spline lofts... however, the shadows appear to be 100% black.

    Any idea how to make the shadows blend with the level better? I already have a Skylight in the scene, but it seems to only blend well with the DominantDirectionalLight.

    Screenshot:


    Thanks,
    -Neil

    Leave a comment:


  • replied
    wait till you find out you can't do collision on spline lofts

    Leave a comment:


  • replied
    thanks for the follow up

    Also, for some reason i used a movable loft. this was the issue i ran into yesterday when trying to recreate. today i made a separate part of road as regular loft and it worked. thanks obihb for your help on this, saved me a lot of time and everyone else who contributed

    Leave a comment:


  • replied
    Just to illustrate.

    The first shot here is a PointLightMovable set to cast normal shadows. I don't have it selected so those are the actual in game shadows. It casts on everything.


    This second shot is the light converted to a DominentPointLight. I have it selected to cast in editor dynamic shadows and it does not work on the loft.


    My theory is that there are light specific properties and only the movable lights have the correct setup for this to work. Whether that is on purpose or by mistake or simply a bug, I have no idea.
    Attached Files

    Leave a comment:


  • replied
    Sorry, I did not say very specifically, it doesn't work with any Dominant light, not even movable one. The only movable lights it works with is spot and point.

    Leave a comment:


  • replied
    having trouble recreating what you did obihb, still getting the same result with no shadows on the spline mesh. anyone else able to recreate? currently using 05-2012

    Leave a comment:


  • replied
    Originally posted by obihb View Post
    I looked at this a little bit since your post here and I found interestingly that while dynamic shadows from Dominant lights do not work, dynamic shadows from Movable lights do, as long as they are set to cast "Normal" shadows. Dominant lights only cast normal shadows though, so I'm not sure what's going on.

    So, I wonder if there's some way to force a Dominant shadow to work in the config somewhere. If there's some setting allowing one to work and the other not, something disabled on Dominant lights to make them more efficient.. or whatever.

    My guess is, in the end though, that the loft actors may just not be properly or fully implemented or this shadow thing is an oversight or a bug.
    wow, interesting. that's a big step forward in figuring out what going on. thanks for looking into that! ill hop back in tonight and play with it some more in hope of finding a solution.

    Leave a comment:


  • replied
    I looked at this a little bit since your post here and I found interestingly that while dynamic shadows from Dominant lights do not work, dynamic shadows from Movable lights do, as long as they are set to cast "Normal" shadows. Dominant lights only cast normal shadows though, so I'm not sure what's going on.

    So, I wonder if there's some way to force a Dominant shadow to work in the config somewhere. If there's some setting allowing one to work and the other not, something disabled on Dominant lights to make them more efficient.. or whatever.

    My guess is, in the end though, that the loft actors may just not be properly or fully implemented or this shadow thing is an oversight or a bug.

    Leave a comment:


  • replied
    Originally posted by hunharibo View Post
    Too bad thats like the only half-decently viable tool to make roads if you dont want to model modular segments (which are really restricting in a way).
    yeah, guess it's back to the drawing board >.<

    Leave a comment:


  • replied
    Too bad thats like the only half-decently viable tool to make roads if you dont want to model modular segments (which are really restricting in a way).

    Leave a comment:


  • replied
    I think spline loft actor itself has issues with shadows, i've seen it mentioned in a couple of older threads before.

    Leave a comment:


  • replied
    hmm, it's a opaque material. i started playing around with anything in the material settings that looked like they might help, but had no luck of getting the shadows to show up. here is two more screenshots, one of the mat and one of the road in lit mode.




    Leave a comment:

Working...
X