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

Shadows not working due to RenderState parameter leakage #2129

Closed
riccardobl opened this issue Oct 24, 2023 · 0 comments · Fixed by #2130
Closed

Shadows not working due to RenderState parameter leakage #2129

riccardobl opened this issue Oct 24, 2023 · 0 comments · Fixed by #2130
Labels
bug Something that is supposed to work, but doesn't. More severe than a "defect".
Milestone

Comments

@riccardobl
Copy link
Member

riccardobl commented Oct 24, 2023

According to git bisect this broke our rendering as soon as shadows are enabled.
There's an incorrect glDepthMask(false) for some of the rendered opaque geometry, I guess from the PreShadow material.
Can anyone confirm?

Originally posted by @Trass3r in #2091 (comment)

@stephengold stephengold changed the title Possible issue with negative scale and shadows renderer Shadows not working work due to material-parameter leakage Oct 25, 2023
@stephengold stephengold linked a pull request Oct 25, 2023 that will close this issue
@stephengold stephengold changed the title Shadows not working work due to material-parameter leakage Shadows not working work due to RenderState parameter leakage Oct 25, 2023
@stephengold stephengold added this to the Future Release milestone Oct 25, 2023
@stephengold stephengold added the bug Something that is supposed to work, but doesn't. More severe than a "defect". label Oct 25, 2023
@riccardobl riccardobl changed the title Shadows not working work due to RenderState parameter leakage Shadows not working due to RenderState parameter leakage Oct 26, 2023
@stephengold stephengold modified the milestones: Future Release, v3.7.0 Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something that is supposed to work, but doesn't. More severe than a "defect".
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants