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

Adding/Removing lights can cause meshes to fail frustum tests #71

Closed
csvurt opened this issue Oct 10, 2014 · 1 comment
Closed

Adding/Removing lights can cause meshes to fail frustum tests #71

csvurt opened this issue Oct 10, 2014 · 1 comment
Labels

Comments

@csvurt
Copy link
Contributor

csvurt commented Oct 10, 2014

When a <light> is added to and then removed from a <group> that also contains a <mesh> element that mesh will fail subsequent frustum tests and get culled (ie. not rendered). This also happens if the object is referenced through a <model> element and applies to all children of the affected group node too.

The bug doesn't occur if the light is added and removed inside its own element, it seems to only affect meshes and meshes of child groups inside the same group as the light.

Below is a test scene, instructions for reproducing the bug are included.
https://www.dropbox.com/s/xdsl2lzr90nekyt/lightbug.zip?dl=0

@csvurt csvurt added the bug label Oct 10, 2014
@ksons
Copy link

ksons commented Oct 13, 2014

Should be fixed with c733576. Issue will close automatically as soon as this is on master.

@ksons ksons closed this as completed in c733576 Oct 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants