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

[OGRE-63] Entity children whose shadow caster status does not match the parent entity are not handled correctly. #18

Open
paroj opened this issue Nov 29, 2015 · 0 comments
Labels
📁 OgreMain Known Issues easy workaround exists or too intrusive to fix right away

Comments

@paroj
Copy link
Member

paroj commented Nov 29, 2015

[reporter="spacegaier", created="Sun, 25 Nov 2012 00:45:24 +0100"]

Original reporter: fedyakin

1) Non-shadow casting children of a shadow casting entity will be queued for rendering during the shadow pass.
2) Shadow casting children of a non shadow casting entity will not cast shadows.

See forum thread http://www.ogre3d.org/forums/viewtopic.php?f=2&t=69233 for a detailed explanation.

The reason this happens is that Entity::_updateRenderQueue always adds all of its visible children to the render queue. However, when this is called from RenderQueue::processVisibleObject with onlyShadowCasters=true, the entity has no way of knowing it shouldn't add non-shadow casters children.

@paroj paroj added this to the 1.10.0 milestone Nov 29, 2015
@paroj paroj removed this from the 1.10.0 milestone Jan 10, 2018
@paroj paroj added the Known Issues easy workaround exists or too intrusive to fix right away label Oct 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📁 OgreMain Known Issues easy workaround exists or too intrusive to fix right away
Projects
None yet
Development

No branches or pull requests

1 participant