make shells always double sided

This commit is contained in:
Val Erastov 2022-03-28 23:50:26 -07:00
parent c7709dca51
commit c941e07a23

View file

@ -2,6 +2,7 @@ import Vector from 'math/vector';
import DPR from 'dpr'
import {getAttribute, setAttribute} from "scene/objectData";
import {BasisForPlane} from 'math/basis';
import {DoubleSide} from "three";
//todo: rename to shell
export class SceneSolid {
@ -52,7 +53,8 @@ export function createSolidMaterial(skin) {
shininess: 0,
polygonOffset : true,
polygonOffsetFactor : 1,
polygonOffsetUnits : 2
polygonOffsetUnits : 2,
side: DoubleSide,
}, skin));
}