'Generated sky': how does it work?

Post your questions, suggestions and experiences regarding game design, integration of external libraries here. For irrEdit, irrXML and irrKlang, see the
ambiera forums
Post Reply
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

'Generated sky': how does it work?

Post by ent1ty »

Hi, in commercial games, for sky there is often used a technology called generated sky. I tried googling it, but could not find anything. Does anyone have an idea how it works?
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
GameDude
Posts: 498
Joined: Thu May 24, 2007 12:24 am

Post by GameDude »

Are you talking about a skybox? Irrlicht can render skyboxes or has a function on how to add them.
randomMesh
Posts: 1186
Joined: Fri Dec 29, 2006 12:04 am

Post by randomMesh »

I think he means a Render-to-texture-skybox. There is one in the IrrExt repository.
"Whoops..."
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Post by ent1ty »

Well, I'm not sure whether it is a render-to-texture-skybox, but it is used in commercial games and is called generated sky. The problem is, I don't know how it works.
It was used in Risen http://risen.deepsilver.com/blog/pages/ ... estion_140
result: Image

Pretty awesome, huh? :)
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

As a first approach, read up on Perlin noise. Next, think about nice gradients. Combining the two should already give a usable setting. Having professional sky quality is not an easy job, though, you can even buy libraries which just do this.
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Post by ent1ty »

Ok, thanks, it's a bit clearer now. However, I'd like to read some more about this and was wondering if there is some paper on the internet describing how this is done. Have anyone stumbled across something similar to this?
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
stefbuet
Competition winner
Posts: 495
Joined: Sun Dec 09, 2007 4:13 pm
Location: france

Post by stefbuet »

ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Post by ent1ty »

Yes, I know about that, but I don't think that that is generated sky :)
Anyway, thanks.
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Well, it does the coloring for you, you just need to generate the clouds on top of it.
Post Reply