Disable culling
This commit is contained in:
parent
941582d07d
commit
c428099b9e
1 changed files with 2 additions and 0 deletions
|
|
@ -47,6 +47,7 @@ export default class ScreenScene extends AbstractScene {
|
||||||
);
|
);
|
||||||
|
|
||||||
this.groundMaterial = ground.material;
|
this.groundMaterial = ground.material;
|
||||||
|
ground.frustumCulled = false;
|
||||||
|
|
||||||
this.add(ground);
|
this.add(ground);
|
||||||
|
|
||||||
|
|
@ -187,6 +188,7 @@ export default class ScreenScene extends AbstractScene {
|
||||||
);
|
);
|
||||||
|
|
||||||
ants.position.x = ants.position.y = -0.5;
|
ants.position.x = ants.position.y = -0.5;
|
||||||
|
ants.frustumCulled = false;
|
||||||
|
|
||||||
this.add(ants);
|
this.add(ants);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue