- Home /
good looking god-rays that will work on iPhone?
anyone have a recipe or technique for god-rays ( crepuscular rays )
simulating underwater shafts of light - that will work on an iPhone 3GS performance wise?
Answer by SAMsan · Sep 21, 2010 at 09:32 AM
I've seen and used (but not in unity) a simple technique to simulate rays. It consists in creating a trapeze with transparent "rays" texture. To improve the effect, you may use several concentric trapezes.
Answer by kavikah · Nov 23, 2010 at 02:51 AM
Try using line render - use a alpha'd texture. Works quite well.
Answer by MarkD · Mar 07, 2014 at 11:51 AM
There is this system on the asset store https://www.assetstore.unity3d.com/#/content/13196 It generates light shafts based on a plane like @SAMsan suggested, it only takes away the trouble of setting up hundreds yourself and have real-time collision + multiple other options.
If you want it to follow a specific casting order you can even create a mesh (external program) and place vertices on all the spots you want a shaft to be casted, the system will use that vertex data (not the actual mesh) and create casts on given positions. This can be great for large scenes as well underwater.
Your answer
Follow this Question
Related Questions
Unity 3 and Unity iPhone Basic 1 Answer
Unity iOS: mixing windows AND mac development 2 Answers
where download dev tools 4.2? 0 Answers
How do I invert the Y axis in Penelope tutorial? 3 Answers
how to create buttons using iphone look and feel?? 2 Answers