Skip to content

Commit

Permalink
disabled occlusion again
Browse files Browse the repository at this point in the history
  • Loading branch information
BarthPaleologue committed Jan 16, 2024
1 parent a13e7fb commit 6a8f229
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ts/planemos/telluricPlanemo/terrain/chunks/planetChunk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ export class PlanetChunk implements Transformable, BoundingSphere {
this.transform.parent = parentAggregate.transformNode;
this.mesh.parent = this.transform;

this.mesh.occlusionQueryAlgorithmType = AbstractMesh.OCCLUSION_ALGORITHM_TYPE_CONSERVATIVE;
this.mesh.occlusionType = AbstractMesh.OCCLUSION_TYPE_OPTIMISTIC;
//this.mesh.occlusionQueryAlgorithmType = AbstractMesh.OCCLUSION_ALGORITHM_TYPE_CONSERVATIVE;
//this.mesh.occlusionType = AbstractMesh.OCCLUSION_TYPE_OPTIMISTIC;

this.parent = parentAggregate.transformNode;
this.parentAggregate = parentAggregate;
Expand Down

0 comments on commit 6a8f229

Please sign in to comment.