我使用MeshLambertMaterial,但最後我發現了一個問題。當我使用我的筆記本(Windows 10),這是正常的。即使當我查看Three.js上的示例,會發生此問題。這些都是錯誤的:錯誤當我使用MeshLambertMaterial
three.dpkg?cacheBuster=zh_CN1460645951295:29438 THREE.WebGLProgram: shader error: 0 gl.VALIDATE_STATUS false gl.getProgramInfoLog C:\fakepath(250,9-30): error X3004: undeclared identifier 'IncidentLight'
Warning: D3D shader compilation failed with default flags. (vs_3_0)
Retrying with avoid flow control
C:\fakepath(250,9-30): error X3004: undeclared identifier 'webgl_45daf4aa877f103d'
Warning: D3D shader compilation failed with avoid flow control flags. (vs_3_0)
Retrying with prefer flow control
C:\fakepath(250,9-30): error X3004: undeclared identifier 'webgl_45daf4aa877f103d'
Warning: D3D shader compilation failed with prefer flow control flags. (vs_3_0)
Failed to create D3D shaders.
感謝。
請參閱https://github.com/mrdoob/three.js/issues/8161並嘗試開發分支three.js r.76dev。 – WestLangley
將會發布此錯誤嗎?謝謝@WestLangley –
您是否嘗試過開發分支,併爲您工作? – WestLangley