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

Fix translucent flickering after a pick #5374

Merged
merged 3 commits into from
May 26, 2017
Merged

Fix translucent flickering after a pick #5374

merged 3 commits into from
May 26, 2017

Conversation

bagnell
Copy link
Contributor

@bagnell bagnell commented May 26, 2017

Fix an issue with clearing the OIT buffers after a pick. Removes an
optimization where the OIT buffers weren't cleared when there was no
translucent commands being rendered. The issue occurred after rearranging
the scene for multiple viewports so the buffers are now only cleared once
at the beginning of the frame instead of per viewport.

Fixes #5307.

optimization where the OIT buffers weren't cleared when there was no
translucent commands being rendered. The issue occurred after rearranging
the scene for multiple viewports so the buffers are now only cleared once
at the beginning of the frame instead of per viewport.
@bagnell
Copy link
Contributor Author

bagnell commented May 26, 2017

@mramato, can you test if this fixed the issue you were seeing where picking stopped working?

@pjcozzi
Copy link
Contributor

pjcozzi commented May 26, 2017

Code LGTM

@mramato
Copy link
Contributor

mramato commented May 26, 2017

@mramato, can you test if this fixed the issue you were seeing where picking stopped working?

Unfortunately the issue is completely random (as far as I can tell anyway), but I'll keep an eye out and let you know if it's still happening after this change.

@mramato
Copy link
Contributor

mramato commented May 26, 2017

I can confirm the issue is fixed. Since @pjcozzi already approved the code, I'll merge this as soon as it goes green.

@mramato
Copy link
Contributor

mramato commented May 26, 2017

Thanks @bagnell!

@mramato mramato merged commit 49ba973 into master May 26, 2017
@mramato mramato deleted the oit-clear branch May 26, 2017 21:41
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.

3 participants