jpvaillancourt Posted April 17, 2018 Share Posted April 17, 2018 I have a strange bug where my shadowGenerator.setDarkness value doesn't have the same effect when the debug layer is open or closed. I really don't see the possible link between those two things. Here are the 2 screenshots. Same darkness value (0.82). The only thing that differ is the commenting of the line that shows the debug layer. The shadow is cast on a plane with a ShadowOnlyMaterial Material. Quote Link to comment Share on other sites More sharing options...
jpvaillancourt Posted April 17, 2018 Author Share Posted April 17, 2018 I'm noticing that the light seems to be different in general between the two screenshots. But once again, the only thing that changes is the Debug Layer. Quote Link to comment Share on other sites More sharing options...
jpvaillancourt Posted April 17, 2018 Author Share Posted April 17, 2018 I found out ! My scene had a white transparent background instead of a black transparent one. Quote Link to comment Share on other sites More sharing options...
Guest Posted April 17, 2018 Share Posted April 17, 2018 ok I prefer that Thanks a lot! 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.