Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shadow cut off bug + shadow seam bug. #973

Open
bryanedds opened this issue Feb 28, 2025 · 0 comments
Open

Shadow cut off bug + shadow seam bug. #973

bryanedds opened this issue Feb 28, 2025 · 0 comments

Comments

@bryanedds
Copy link
Owner

Both of these issues are caused by the SHADOW_SEAM_INSET value. When the light is big, say cutoff = 32.0, the value is too small to completely remove the shadow seam. And when the light is smaller, the value is too big and cuts off the shadow before the light ends!

We have a couple of options -

  1. Make this a uniform value for each light.

  2. Find some way to calculate an appropriate value for this based on the cutoff value in the shader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant