Page 1 of 1

creating a simple sun like the sun in overgrowth

Posted: Sat Sep 08, 2012 11:49 am
by Re<<aL
Hello, it's me again and i have another question :D

How can i do with opengl/GLSL a sun like the one in overgrowth. I mean, just a sphere that shines. I dont want it to move, change the color, etc.. Just know how to do it with opengl/GLSL a sun like that, i shearch in google but i couldnt find anything, nothing about gloss, a shininess sphere nothing!

So if someone can healp me... Thank you

Pd: Actually I'm using a directional light for simulating the sun, its better a point light?

Re: creating a simple sun like the sun in overgrowth

Posted: Sat Sep 08, 2012 9:29 pm
by Korban3
http://blog.wolfire.com/2009/01/lens-flares/
David links to the paper he used for it and everything. It is a bit complex, but not impossible at all.

Re: creating a simple sun like the sun in overgrowth

Posted: Sun Sep 09, 2012 3:35 am
by Endoperez
I think the sun's light is a directional light, but the sphere itself is probably done separately.

Re: creating a simple sun like the sun in overgrowth

Posted: Wed Sep 19, 2012 2:13 pm
by Re<<aL
Ok, Thank you very much for your time, i will read that topic and yes i also think that it's a directional light.

Thank you very much. I love u xDDDDDD


Pd. Skomakar'n i didnt said or wanted to said that the overgrowth sun is simple, i said or wanted to say :shock: that i wanted to implement a simple sun (of course the sun in overgrowth isn't simple)