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

Firefox OIT fix #4762

Merged
merged 4 commits into from
Dec 18, 2016
Merged

Firefox OIT fix #4762

merged 4 commits into from
Dec 18, 2016

Conversation

lilleyse
Copy link
Contributor

Fixes #4658

There seems to be an issue where a texture that is not initialized with a source and is bound to an FBO color attachment (besides the 0th) cannot be rendered to correctly.

So instead of passing null to pixels I pass in an empty array buffer.

I consider this just a workaround until the actual bug is fixed. I have a small test case that is displaying the same issue so I'm going to file a Firefox bug.

@@ -88,7 +88,7 @@ define([
pixelDatatype : PixelDatatype.UNSIGNED_BYTE
});

if (context.depthStencilTexture) {
if (context.depthTexture) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not related - but a mistake from a search and replace I did in #4747

@pjcozzi
Copy link
Contributor

pjcozzi commented Dec 18, 2016

Very nice, thanks @lilleyse!

@mramato
Copy link
Contributor

mramato commented Jan 3, 2017

@lilleyse is there an issue that links to the Firefox bug for this so we can remove the workaround when the browser is fixed?

@lilleyse
Copy link
Contributor Author

lilleyse commented Jan 3, 2017

No there isn't, thanks for the reminder.

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.

OIT not working correctly in Firefox
3 participants