Clean up unused code, restore threshold
1 files changed, 1 insertions(+), 4 deletions(-) M palette-pass.js
M palette-pass.js => palette-pass.js +1 -4
@@ 6,14 6,11 @@ import fragmentShader from './frag.glsl?raw' export default function (texture) { const paletteSize = texture.source.data.width texture.minFilter = THREE.NearestFilter texture.magFilter = THREE.NearestFilter return new ShaderPass(new THREE.ShaderMaterial({ uniforms: { tDiffuse: { value: null }, palette: { value: texture }, threshold: { value: 0 }, threshold: { value: 0.03 }, }, glslVersion: THREE.GLSL3, vertexShader,