Fake but good planets halo

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
Grz-
Posts: 62
Joined: Wed Dec 26, 2007 1:06 pm

Fake but good planets halo

Post by Grz- »

Hello,

i would like to know what would be the best looking way to 'fake' (without shaders) a planetary halo (light scattering), actually i use a hemisphere with blending (simple irrlicht sphere bind to a planet with backface culling disabled and frontface enabled) and apply a gradient texture that fit the edge, then make it always facing the camera and then use a billboard to give it a fake volumetric style, it give good result but i am wondering if there is a best way to do it, especially to improve the effect on the surface of the planet near edges and on the shadow edge like in this image:

Image
Jallen
Posts: 46
Joined: Tue Jun 19, 2007 5:28 pm
Location: Hampshire, England

Post by Jallen »

Why do you not want to use a shader?
Grz-
Posts: 62
Joined: Wed Dec 26, 2007 1:06 pm

Post by Grz- »

I am just not fond of making 'everything' in shaders, i want an alternative (also for my computer spec) and i found it is also way more fun to code stuff without shaders, using restrictions imposed to approach shader result with better range of cards compatibility and maybe even more speed and room left to put others ressources hungry shaders.
macron12388
Posts: 126
Joined: Wed Sep 29, 2010 8:23 pm

Post by macron12388 »

Um :/ that doesn't sound very efficient, especially since shaders would probably LOOK BETTER, and they are executed at a lower level in the graphics pipeline so they would also be FASTER.

EDIT: I understand what it is you're saying that you want to use "alternatives" to shaders, just let me tell you something: The whole reason why I moved to irrlicht is because my previous program was very rigid and forced me to accomplish affects in the ways you are describing, SOOOooooooooooooo SSSSSsloooooooowwwwwww.
Grz-
Posts: 62
Joined: Wed Dec 26, 2007 1:06 pm

Post by Grz- »

Yeah but i plan to port my app to a wide range of platform, sometimes, they don't even have huge ressources for shaders so cumulated with others it will slow down, i just want alternative to shaders, especially for this effect because i know games that didn't supported shaders in the past had pretty correct result for this at almost no cost.
Post Reply