- Home /
How to add atmospheric glow to a planet
Hi there!
I made a planet in Autodesk 3D Studio Max 2013, with a glowing atmosphere. However, when I exported it as an FBX, it didn't exported the atmosphere effect, instead exporting a sphere with no transparency and for sure, not glowing.
So, I came here asking, if there is a way of adding the same effect, inside Unity? If there is, how?
Thank you in advance.
João Borrego
Answer by ScroodgeM · Aug 06, 2012 at 09:01 PM
shaders that used in 3D max are for one-shot rendering, unity3d uses only real-time optimized, that are as simple as possible. so shaders from 3D modelling app can't used in 3d engine "as is". you should find/write shader for real-time rendering.
I found this one:
http://entitycrisis.blogspot.pt/2011/01/planet-shader-2.html
And it works great. Thanks!
Answer by nemsy · Aug 06, 2012 at 09:32 PM
nVIDIA's "GPU-Gems 2", Chapter 16 covers realistic atmospheric scattering and how it's accomplished with shaders
http://http.developer.nvidia.com/GPUGems2/gpugems2_chapter16.html
alternatively, there are quite a few assets floating around that can help you easily accomplish this effect, here's just one of them:
http://forum.unity3d.com/threads/112058-Atmospheric-Scattering-LIVE-on-AssetStore
Your answer
Follow this Question
Related Questions
Planet/Atmosphere shader problem. 0 Answers
true emissive atmospheric glow possible in Unity? 0 Answers
Simple planet atmosphere 0 Answers
Use Glow Effect in Unity Free 1 Answer
Glow Effect 3 Answers