disable hitleft/hitright intersection shader uniform for now

This commit is contained in:
Kevin Ngo
2018-12-10 18:44:10 -08:00
parent 932aaf69cd
commit 486e235453

View File

@@ -66,11 +66,13 @@ AFRAME.registerComponent('saber-particles', {
if (!intersection) { return; }
// Update intersection material if necessary.
/*
if (this.intersectedEl.components.wall || this.intersectedEl.id === 'floor') {
const uniform = this.data.hand === RIGHT ? HIT_RIGHT : HIT_LEFT;
const material = this.intersectedEl.getObject3D('mesh').material;
material.uniforms[uniform].value = intersection.point;
}
*/
if (this.particleSystem && this.particleSystem.active) {
// Update particle position.