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

fragment rendering errors for PrefabBufferGeometry + PhongAnimationMaterial #36

Open
clindsey opened this issue Jun 14, 2019 · 0 comments

Comments

@clindsey
Copy link
Contributor

I'm not able to get PrefabBufferGeometry instances with PhongAnimationMaterial to render correctly when they're overlapping on the screen. It seems like the fragment shader isn't able to correctly depth sort. I'm updating transformed in the vertex shader to position the object but the fragment shader isn't picking up on it. Is there a way to correct this, or should I just stick to ToonAnimationMaterial like in the examples?

example code - https://codepen.io/clindsey/pen/ydeaKx

Screen Shot 2019-06-14 at 11 14 40 AM

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

No branches or pull requests

1 participant