-
-
Notifications
You must be signed in to change notification settings - Fork 35.5k
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
Global constant faceDirection instead of gl_FrontFacing #17620
Conversation
This is affirmation is true? /ping @WestLangley @mrdoob
|
fwiw, I have seen like 2 other drivers having problems with gl_FrontFacing, and heard of 3rd one. what I did was
instead of
|
Thanks, @sunag. I think this is definitely worth further study. |
hmm, funny thing here. my workaround above should be the same as in #17804 (comment) but that one is causing problems for @WestLangley 🤔 |
Notice that #17958 has removed the Adreno workaround. FWIW: While studying the shader code of Sketchfab, I've noticed that they use |
@Mugen87 I think so, this PR is too outdated... Maybe in future simplify the operation |
Still I did not make any deep-test... but I can finish. Apparently work for normal/bump maps.
Considering that Adreno GPUs not work property
gl_FrontFacing
, otherwise, it can be more simple.#17598
This is a WIP
/ping @WestLangley @mrdoob