viromedia / virocore

ViroCore cross-platform AR/VR renderer
MIT License
370 stars 108 forks source link

How to set billboard transformBehavior for particleEmitter? #308

Open netunlimited opened 5 years ago

netunlimited commented 5 years ago

I have a particleEmitter that emits Quad particles with a PNG texture. It uses a Sphere as a SpawnVolume.

When I walk around the particleEmitter the particles at some point are not visible, depending on the perspective. I'd like the particles to always face the user (== the camera). I've tried setting the Node.TransformBehavior.BILLBOARD on the emitter's Node but it has no effect. Any suggestions?

dthian commented 5 years ago

That is strange, particles themselves should always be billboarded to the user. Could the above behavior that you are seeing be due to culling (when you walk "behind" a particle?)