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

Object3D: Fix onBeforeShadow and onAfterShadow #1213

Merged
merged 1 commit into from
Aug 29, 2024

Conversation

vanruesc
Copy link
Contributor

The onBeforeShadow and onAfterShadow callbacks are called here and here in WebGLShadowMap with the parameters renderer, scene, camera, shadowCamera, geometry, material, group which is also stated in the respective doc comments.

The camera parameter is currently missing in the type declarations.

Copy link
Contributor

@Methuselah96 Methuselah96 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Methuselah96 Methuselah96 merged commit 7ec9777 into three-types:master Aug 29, 2024
5 checks passed
@vanruesc vanruesc deleted the fix-shadow-callbacks branch August 29, 2024 21:54
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.

2 participants