Before talk: an image self explaining:
I have a sphere, I have a light... how to make the "atmosphere" looks like this? (I read something about shaders (in this image i think something like "gradient shaders"), but i didnt found any guide on using them )
Can someone help me? explaining the use of shader? (maybe with a code snippet )
Shaders?
Re: Shaders?
I am not going to provide you with any shader code snippet, i will point you to a FULL shader sample!
http://irrlicht.sourceforge.net/docu/example010.html
the example 10 of the Irrlicht distribution .
Really, there are many ways to get that kind of effect.
http://irrlicht.sourceforge.net/docu/example010.html
the example 10 of the Irrlicht distribution .
Really, there are many ways to get that kind of effect.
"There is nothing truly useless, it always serves as a bad example". Arthur A. Schmitt
Re: Shaders?
http://granyte.blogspot.com/2011/12/her ... -this.html
this post contains links to every information i used to create my implementation of the atmospheric scattering once you get a hand on how to make shaders work in irrlicht take a look at hexidave DX version of the scattering it's a good start if you don't need fancy options
if you do then you will rewrite it from the gl implementation of sean oneil like i did anyway good luck
this post contains links to every information i used to create my implementation of the atmospheric scattering once you get a hand on how to make shaders work in irrlicht take a look at hexidave DX version of the scattering it's a good start if you don't need fancy options
if you do then you will rewrite it from the gl implementation of sean oneil like i did anyway good luck