-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
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
Some kind of a depth buffer regression from 114 #19302
Comments
The specles are caused by
Where |
Would be great if you could isolate what commit in r114 broke your example. |
A reasonable guess is #18696. |
Yes, this seems like the culprit. #18696 has some super useful information. @WestLangley any ideas about these stalling calls? I've never encountered them before. I'll try to pin this down a bit more, it happened in R115 or R116 or dev and try to open a new issue. |
I expect you should avoid saving depth to a texture having a lower precision -- if that is, in fact, what you are doing. |
Sorry, i'm realizing now that this is completely unrelated to the depth stuff. The issue i was having was due to the PR you linked (thanks!). This other issue is in a different version, ill investigate better and open a new one. |
Description of the problem
I've submitted a depth peel example a while back: #15312
This example depends on this proposal #15490
So i'm not sure if this counts as a regression since i don't have a meaningful case without using this proposal, but i'd like to point it out regardless, and inquire about what work happened in this area.
This demo runs on r98 and the proposal and everything runs fine. Up to r113 i can apply this diff and get the same behavior:
R113:
When bumping to R114, the framerate remains, but i get some depth artifacts:
In the dev branch, my frame rate drops tremendously, and i've oddly traced it down to an ordinary render call that happens after all this crazy depth peeling logic, and before the results are shown on the screen. I can actually even render the results with no frame drop, its just when i try to render a partial normal scene in the process, it really goes down.
Ie. this is caused by
Please let me know if additional information is needed. I could serve the demo with r113, r114 and dev. If this is of no interest since it's appearing in something thats using a proposal, i'd appreciate it if you could point me in some direction where some recent changes could have affected this. Thank you.
Three.js version
Browser
OS
The text was updated successfully, but these errors were encountered: