- Home /
Particle billboard rotation?
Is there any way you can make the billboards have a random orientation, instead of facing the camera? :)
My scenario:
When I look away from the sun:
When I look at the sun:
EDIT: Is there a way to make the grass shader receive light from all directions? (If a light can hit it directly)
Answer by Landern · Oct 13, 2014 at 12:50 PM
Is there any way you can make the billboards have a random orientation, instead of facing the camera? :)
Your question is eating itself.
By definition, billboarding with sprites will always face the camera.
Snippet from Wikipedia:
Billboarding is the use of sprites in a 3D environment. In the same way that a billboard is positioned to face drivers on a highway, the 3D sprite always faces the camera. There is both a performance advantage and an aesthetic advantage to using billboarding.
Is there any way to make the grass receive light from all directions, if the directional light has a clear line to it?
Answer by LSPressWorks · Oct 11, 2014 at 11:03 PM
I asked a very similar question and never got an answer. I wound up creating my own particle spawner. Orientation can't be done I've found, or think I have.
http://feedback.unity3d.com/suggestions/shuriken-particles-orientationf
this apparently applies to both legacy and Shuriken particles.
If you aren't familiar you'll want to check the api on Time.time, Random.range(x,x),Transform.localEulerAngles, Vector3.foward vs Transform.foward and Instantiate(). Also, unity seems to dislike planes with rigidbodies, sooo...cleverly crafted squares work well. Good luck!!