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

WebGLShadowMap: Make test for clipping planes more robust. #24144

Merged
merged 1 commit into from
Jun 14, 2022

Conversation

lumebot
Copy link
Contributor

@lumebot lumebot commented May 27, 2022

Related issue: #XXXX

Description

Without this, a null clippingPlanes array (the default value) causes a runtime error when clipShadows is true.

this.clippingPlanes = null;

  • add test if approved to move forward

@trusktr trusktr force-pushed the fix-error-with-clipShadows-true branch from f6cfbfc to 16b1c65 Compare May 27, 2022 06:32
@Mugen87 Mugen87 changed the title fix error with clipShadows true WebGLShadowMap: Make test for clipping planes more robust. May 27, 2022
@trusktr trusktr force-pushed the fix-error-with-clipShadows-true branch from 16b1c65 to 26af07f Compare May 27, 2022 20:39
@mrdoob mrdoob added this to the r142 milestone Jun 14, 2022
@mrdoob mrdoob merged commit 9203453 into mrdoob:dev Jun 14, 2022
@mrdoob
Copy link
Owner

mrdoob commented Jun 14, 2022

Thanks!

abernier pushed a commit to abernier/three.js that referenced this pull request Sep 16, 2022
…anes not yet set to an array (mrdoob#24144)

Co-authored-by: Joe Pea <joe@trusktr.io>
snagy pushed a commit to snagy/three.js-1 that referenced this pull request Sep 21, 2022
…anes not yet set to an array (mrdoob#24144)

Co-authored-by: Joe Pea <joe@trusktr.io>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants