Hi all! I am developing a game at Dare to be Digital. It's an iPad game and we are using the Unity engine. It is set underwater and I am having trouble making convincing god rays.
Does anyone have a good technique for making them with 2d planes, instead of dynamic lighting?
Thanks in advance,
Pookhan
Replies
The overdraw would be killer, yeah, but if you want dynamic god rays, there's not really any other way.
Your only real other choice is modelling them, which'll be completely static.
http://http.developer.nvidia.com/GPUGems3/gpugems3_ch13.html
You render into a small buffer (1/4, 1/8th) and then apply a radial blur.
Feel free to follow us on twitter @dare2012_lazzyb
might be a good read for you too:
http://blogs.unity3d.com/2012/03/23/shadowgun-optimizing-for-mobile-sample-level/