render both sides

This commit is contained in:
casperlamboo 2017-11-23 13:38:02 +01:00
parent d4e1fd8e55
commit 4d87604a2c

View File

@ -22,6 +22,7 @@ export default class OutlinePass {
vertexShader: normalDepthVert,
fragmentShader: normalDepthFrag
});
this._normalDepthMateral.side = THREE.DoubleSide;
this._edgeMaterial = new THREE.ShaderMaterial({
uniforms: {