Jump to content

Sun shadow distance increase?


Shirk
 Share

Recommended Posts

These shadows depend in the "suns" angle. Just like in the real world. If it's noon the shadows aren't long. Later in the evening the shadows get longer because the sun is at a steeper angle. Select the directional light, and play around with rotating it using the rotation buttons on the toolbar.

Link to comment
Share on other sites

Hmm, I tried playing with the view distance setting and I think I broke something, because now my shadows fade out when the camera moves away from them, regardless of what value I choose.

That's exactly my problem. I don't recall it not being like that though.

 

Link to comment
Share on other sites

  • 1 month later...

Sorry for necroing an old thread, but... has this been solved/answered? The range setting on the lights tab doesn't do anything (and by the way, if you close and reopen Leadwerks, that range is set back to -150/150, even if I save my map before closing). Also, I actually don't understand what those values mean, especially the first one - is that the range of objects behind the camera that cast shadows?

Link to comment
Share on other sites

  • 8 months later...

Unfortunately it doesn't help too much. When developing a game that uses larger worlds (For example: a Flight simulator/Spacesim etc.) than usual indoor scenarios, you will have to see shadows from much farther away. Of course one could simply scale the world down by factor 0.1 or 0.01, but this will result in a loss of precision.

So what we need is a option to scale the shadow casting distance. I know this will result in more blurry shadows, but that doesn't matter, as you wouldn't be as close to the shadows as in a FPS.

  • Upvote 1
Link to comment
Share on other sites

Agree, when I just got LE I tried to make a Manhattan style level. With directional lightning the shadows from the skyscrapers naturally are quite long and abruptly end in the near distance. This is very unfortunate since it breaks the atmosphere - the world becomes full bright as soon as the shadows are cut.

Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)

Link to comment
Share on other sites

  • 4 weeks later...

This is a problem for me too, with my 'outside' levels - i'm currently experimenting with tree construction and placement, and the shadow falloff distance is far too short for my purposes. in the two shots below, as i approach my trees, the shadows arent at all visibile until i am practically right next to them.

 

shadow1.jpg

 

shadow2.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...