提交 e0712905 编写于 作者: M mataron

fix: corrected WebGLPrograms lookup of 'logarithmicDepthBuffer' capability...

fix: corrected WebGLPrograms lookup of 'logarithmicDepthBuffer' capability (not present in renderer)
上级 f6aeb7ca
......@@ -160,7 +160,7 @@ THREE.WebGLPrograms = function ( renderer, capabilities ) {
flatShading: material.shading === THREE.FlatShading,
sizeAttenuation: material.sizeAttenuation,
logarithmicDepthBuffer: renderer.logarithmicDepthBuffer,
logarithmicDepthBuffer: capabilities.logarithmicDepthBuffer,
skinning: material.skinning,
maxBones: maxBones,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册