提交 958220bf 编写于 作者: P Pelle Johnsen

Use matrixWorld instead of matrix for DecalGeometry

上级 c36f35d9
......@@ -148,7 +148,7 @@
// transform the vertex to world space, then to projector space
vertex.applyMatrix4( mesh.matrix );
vertex.applyMatrix4( mesh.matrixWorld );
vertex.applyMatrix4( projectorMatrixInverse );
decalVertices.push( new DecalVertex( vertex.clone(), normal.clone() ) );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册