Skip to content

Commit

Permalink
fix(points): support point classification up to 256 classes
Browse files Browse the repository at this point in the history
  • Loading branch information
Desplandis committed Jun 5, 2024
1 parent 77fd215 commit 170f220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Renderer/PointsMaterial.js
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ class PointsMaterial extends THREE.ShaderMaterial {
}

recomputeClassification() {
const needTransparency = recomputeTexture(this.classificationScheme, this.classificationTexture, 32);
const needTransparency = recomputeTexture(this.classificationScheme, this.classificationTexture, 256);
this.userData.needTransparency[PNTS_MODE.CLASSIFICATION] = needTransparency;
this.dispatchEvent({
type: 'material_property_changed',
Expand Down

0 comments on commit 170f220

Please sign in to comment.