fix rep; class LUT was bound at conflicting location
This commit is contained in:
parent
db7e55bfaa
commit
bcfe0c7c48
@ -860,10 +860,10 @@ Potree.Renderer = class Renderer {
|
||||
gl.activeTexture(gl.TEXTURE1);
|
||||
gl.bindTexture(gradientTexture.target, gradientTexture.id);
|
||||
|
||||
let classificationTexture = this.textures.get(material.classificationTexture);
|
||||
shader.setUniform1i("classificationLUT", 2);
|
||||
gl.activeTexture(gl.TEXTURE2);
|
||||
gl.bindTexture(classificationTexture.target, classificationTexture.id);
|
||||
//let classificationTexture = this.textures.get(material.classificationTexture);
|
||||
//shader.setUniform1i("classificationLUT", 2);
|
||||
//gl.activeTexture(gl.TEXTURE2);
|
||||
//gl.bindTexture(classificationTexture.target, classificationTexture.id);
|
||||
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user