You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rainEmitter = new SPE.Emitter({
maxAge: {
value: 20
},
position: {
value: new THREE.Vector3(0, 20, -70),
spread: new THREE.Vector3( 50, 0, 50 )
},
acceleration: {
value: new THREE.Vector3(-10, -5, 0),
spread: new THREE.Vector3( 0, 0, 20 )
},
velocity: {
value: new THREE.Vector3(0, 0, 0),
spread: new THREE.Vector3(0, 0, 0)
},
color: {
value: [ new THREE.Color('white') ]
},
size: {
value: 12.5
},
particleCount: 2000
});
particleGroup = new SPE.Group({
texture: {
value: new THREE.TextureLoader().load('./assets/rain.png')
},
// depthTest:true,
// depthWrite:true,
renderOrder:2,
});
RenderOrder doesnt do anything in the group, and cant see how to edit it in the emitter, and using particleGroup.mesh.renderOrder doesnt do anything either.
It seems to draw behind objects so need to bring it forward.
Is it possible to change the renderOrder of the particle emitter material?
The text was updated successfully, but these errors were encountered:
rainEmitter = new SPE.Emitter({
maxAge: {
value: 20
},
position: {
value: new THREE.Vector3(0, 20, -70),
spread: new THREE.Vector3( 50, 0, 50 )
},
RenderOrder doesnt do anything in the group, and cant see how to edit it in the emitter, and using particleGroup.mesh.renderOrder doesnt do anything either.
It seems to draw behind objects so need to bring it forward.
Is it possible to change the renderOrder of the particle emitter material?
The text was updated successfully, but these errors were encountered: