eljuko Posted October 30, 2017 Share Posted October 30, 2017 Hey all, Sorry to bother you with yet another shadow related question, but i'v ran into trouble. I'm doing some tests with dynamic world creation and shadows. So i'm using directional light to cast shadows, but for every mesh i import the shadows get more and more "crispy". This is fine as long as i keep light.autoUpdateExtends as false.., BUT i ran into another issue; the "shadow projection" from the light is very slim and parallel with light angle, i simply don't know how to enlarge the shadow projection so it would fit with camera view. Any ideas? - eljuko EDIT: added image. As u can see, the shadows from the rocks doesn't fit in the projection. Tomm Huth 1 Quote Link to comment Share on other sites More sharing options...
eljuko Posted October 30, 2017 Author Share Posted October 30, 2017 Ok, so i think i found the solution from light.shadowFrustumSize = X and moving the light with camera. All this time i was trying to find the solution from shadowGenerator and forgot to experiment with the light itself :') GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted October 30, 2017 Share Posted October 30, 2017 You did it congratulations ! I like when a problem is solved by the op himself eljuko 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.