question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

THREE.WebGLProgram Warning Message - vNormal shader not read

See original GitHub issue

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?

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
0b5vrcommented, Sep 10, 2021

Thank you! This is really helpful.

0reactions
Wei-1commented, 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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issue implementing GLSL shaders in Three.js - Stack Overflow
The message I receive is: THREE.WebGLProgram: gl.getProgramInfoLog() WARNING: Output of vertex shader 'vNormal' not read by fragment shader.
Read more >
Output of vertex shader 'worldStart' not read by fragment ...
I get the following warning in the browser console THREE.WebGLProgram: Program Info Log: WARNING: Output of vertex shader 'worldStart' not ...
Read more >
Issues · pixiv/three-vrm - GitHub
Contribute to pixiv/three-vrm development by creating an account on GitHub. ... THREE.WebGLProgram Warning Message - vNormal shader not read.
Read more >
[Solved]-Issue implementing GLSL shaders in Three.js-three.js
Well the message is pretty clear here, you declare a varying in your vertex shader and affect it a value but don't use...
Read more >
An Introduction to Shaders - Part 2 - Aerotwist
This is the second part of an introduction to WebGL shaders. If you've not read Part 1 or my introduction to using Three.js...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found