This commit is contained in:
Diego F. Goberna
2018-12-06 00:01:12 +01:00
committed by Diego Marcos
parent 25ec36e686
commit ce6e155c9a
4 changed files with 1894 additions and 24 deletions

View File

@@ -34,6 +34,7 @@ AFRAME.registerComponent('trail', {
side: THREE.DoubleSide,
vertexColors: THREE.VertexColors,
transparent: true,
blending: THREE.AdditiveBlending,
vertexShader: [
'varying vec4 vColor;',
'attribute vec4 vertexColor;',