mirror of
https://github.com/Doodle3D/Doodle3D-Core.git
synced 2024-12-22 19:13:49 +01:00
render both sides
This commit is contained in:
parent
d4e1fd8e55
commit
4d87604a2c
1
src/d3/OutlinePass.js
vendored
1
src/d3/OutlinePass.js
vendored
@ -22,6 +22,7 @@ export default class OutlinePass {
|
||||
vertexShader: normalDepthVert,
|
||||
fragmentShader: normalDepthFrag
|
||||
});
|
||||
this._normalDepthMateral.side = THREE.DoubleSide;
|
||||
|
||||
this._edgeMaterial = new THREE.ShaderMaterial({
|
||||
uniforms: {
|
||||
|
Loading…
Reference in New Issue
Block a user