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

THREE.WebGLProgram Warning Message - vNormal shader not read #808

Open
Wei-1 opened this issue Sep 8, 2021 · 5 comments
Open

THREE.WebGLProgram Warning Message - vNormal shader not read #808

Wei-1 opened this issue Sep 8, 2021 · 5 comments

Comments

@Wei-1
Copy link

Wei-1 commented Sep 8, 2021

I am seeing a warning message from most of the examples:

THREE.WebGLProgram: gl.getProgramInfoLog() WARNING: Output of vertex shader 'vNormal' not read by fragment shader
WARNING: Output of vertex shader 'webgl_4008bac2cdf4496d' not read by fragment shader

This might be related to the tree-vrm-girl.vrm model, since sphere.vrm will not have this warning.
While I am trying my other vrm models, they will all print similar warnings, although the number of warnings will be different.

Is this something that can be removed by modifying the mtoon shader files?

@0b5vr
Copy link
Contributor

0b5vr commented Sep 10, 2021

Which Three.js revision are you using?

I've tried on r132 and it was not working at all 😅 : #809

@Wei-1
Copy link
Author

Wei-1 commented Sep 10, 2021

I am trying the example, which is using 0.126.1 for the three.js version.
I actually tried r132, and I think there are dependencies issues.
But that is a different issue though.

@0b5vr
Copy link
Contributor

0b5vr commented Sep 10, 2021

mm, I probably have to ask about your graphics hardware... Since how shader compilers react to the code is different between what chip you are using

@Wei-1
Copy link
Author

Wei-1 commented Sep 10, 2021

Here is my spec:

macOS Catalina, ver 10.15.7
MacBook Pro (13-inch, 2017, Two Thunderbolt 3 ports)
Processor 2.3 GHz Dual-Core Intel Core i5
Memory 8 GB 2133 MHz LPDDR3
Startup Disk Macintosh HD
Graphics Intel Iris Plus Graphics 640 1536 MB

I can see the warning messages using both Chrome and Firefox. It is not a breaking message.

Sample screenshot:
Screen Shot 2021-09-10 at 14 47 04

@0b5vr
Copy link
Contributor

0b5vr commented Sep 10, 2021

Thank you! This is really helpful.

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

2 participants