Jump to content

Bug ShadowGenerator.setDarkness with debugLayer enabled


jpvaillancourt
 Share

Recommended Posts

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.

image.thumb.png.94208b56dafd4a469dfeb4728f624498.png

image.thumb.png.ab5bff744f274e04e628a9e40a14d2a7.png

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.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...