提交 ab147eaa 编写于 作者: M Mr.doob

lights_template.glsl clean up.

上级 4aebb67b
......@@ -21,7 +21,7 @@ GeometricContext geometry = GeometricContext( -vViewPosition, normalize( normal
PointLight pointLight = pointLights[ i ];
IncidentLight directLight = getPointDirectLight( pointLights[ i ], geometry );
IncidentLight directLight = getPointDirectLight( pointLight, geometry );
#ifdef USE_SHADOWMAP
if ( pointLight.shadow > - 1 ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册