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