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

OIT artifacts #2129

Closed
pjcozzi opened this issue Sep 15, 2014 · 5 comments
Closed

OIT artifacts #2129

pjcozzi opened this issue Sep 15, 2014 · 5 comments

Comments

@pjcozzi
Copy link
Contributor

pjcozzi commented Sep 15, 2014

image

Could be an Intel bug: https://code.google.com/p/chromium/issues/detail?id=414280

Could also be our bug: https://twitter.com/pastasfuture/status/511538181691682816

Info on their implementation: http://floored.com/blog/2014/webgl-order-independent-transparency-single-render-target.html

@shunter
Copy link
Contributor

shunter commented Sep 19, 2014

I get a different artifact on OS X 10.9.5 with a Radeon HD 6630M.

screen shot 2014-09-19 at 10 42 04 am

The artifacts move around as the camera moves.

@mramato
Copy link
Contributor

mramato commented Oct 4, 2014

FYI, I get similar issues with OIT enabled under Linux using an HD 4000. It does not happen with the same machine on Windows.

image

@gberaudo
Copy link
Contributor

I have the issue reported by @pjcozzi and @mramato on my machine when OIT is enabled (Cesium 1.5). It disappears when disabling OIT:

scene._oit.isSupported = function() {
    return false;
};

Tested on Ubuntu 14.10:

What is the consequence of disabling OIT?

@pjcozzi
Copy link
Contributor Author

pjcozzi commented Jan 29, 2015

@gberaudo instead of using that workaround, set orderIndependentTranslucency to false when constructing Viewer: https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/Widgets/Viewer/Viewer.js#L217

For the consequence, see: http://cesiumjs.org/2014/03/14/Weighted-Blended-Order-Independent-Transparency/

@gberaudo
Copy link
Contributor

Thank you @pjcozzi.
Added a comment to the Chrome bug https://code.google.com/p/chromium/issues/detail?id=414280#c9.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants