When my ThreeJS custom shaders contains errors, I get the very cryptic INVALID_OPERATION message in the JS console during the rendering stage:
WebGL: INVALID_OPERATION: useProgram: program not valid
Run Code Online (Sandbox Code Playgroud)
Is there a way to get a more useful log, such as the one returned by getShaderInfoLog()?
(To test this quickly, one can add errors in the shaders of this app.)
| 归档时间: |
|
| 查看次数: |
124 次 |
| 最近记录: |