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

Exposed MeshInstance.castShadow #5130

Merged
merged 1 commit into from
Mar 6, 2023
Merged

Conversation

mvaligursky
Copy link
Contributor

@mvaligursky mvaligursky commented Mar 6, 2023

Fixed #5117

  • MeshInstance.castShadow is now public API
  • MeshInstance.castShadow is used during shadow casters culling to skip meshes not casting shadows, allowing fast way to temporarily disable shadow casting, similarly to MeshInstance.visible.

@mvaligursky mvaligursky self-assigned this Mar 6, 2023
@mvaligursky mvaligursky added the area: graphics Graphics related issue label Mar 6, 2023
@mvaligursky mvaligursky merged commit 2579e55 into main Mar 6, 2023
@mvaligursky mvaligursky deleted the mv-expose-mi-castshadow branch March 6, 2023 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: graphics Graphics related issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MeshInstance.castShadow not updating shadows
2 participants