Skip to content

Commit

Permalink
Change billboard mask material
Browse files Browse the repository at this point in the history
  • Loading branch information
CorentinGaut committed Jan 4, 2022
1 parent 2e10c30 commit 3616c92
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Widgets/Billboard/Billboard.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
import * as THREE from 'three';
import THREEUtils from '../../Game/Shared/Components/THREEUtils';
import { CSS3DObject } from 'three/examples/jsm/renderers/CSS3DRenderer';
import { Color } from 'three';

const BLANK_MATERIAL = new THREE.MeshBasicMaterial({
side: THREE.DoubleSide,
opacity: 0,
blending: THREE.NoBlending,
color : new Color(0,0,0),
});

export class Billboard {
Expand Down

0 comments on commit 3616c92

Please sign in to comment.