by date
Blue Marble - (warning - pictures)
Blue Marble - (warning - pictures)
| Name: | Guy Allard | |
|---|---|---|
| Date Posted: | May 17, 2008 | |
| Rating: | 4.5 out of 5 | |
| Public: | YES | |
| Comments: | YES | |
| RSS Feed: | or Subscribe with . | |
| Profile Page: | View profile page for Guy Allard |
Blog post
Having recently purchased TGEA, I thought I'd try and get to grips with shaders and materials. I stumbled across the blue planet demo during a random google search, and thought I'd have a go at producing something similar.
The result:

To model the earth, I used three spheres, one for the earths surface, a second sphere scaled up slightly for the cloud layer, and a third sphere scaled up again for the atmosphere.
The Surface of the earth is rendered by a custom shader using three textures
- a diffuse map with a specular map in the alpha channel, which limits the specular reflection to the oceans.
- a normal map that gives height to the mountains and valleys
- an emission map which illuminates the cities at night time.
The shader that renders the planet restricts the emission map to the dark side of the planet, so cities only glow at night time.

The cloud layer is a standard material which is rendered translucent, and is also bump mapped so that the clouds have depth.

For the atmosphere, I managed to port the shader from the the blue planet demo. The color of the atmosphere can be specified in the material definition.
The sun is a simple fxSunlight, and the moon is a single textured and bump-mapped sphere.
I'm pretty pleased with the outcome. As always, there's still plenty of tweaking to be done.
Anyway, I'll leave you with a few more gratuitous screenshots.
Earthrise

Europe at night

Sunset of West Coast USA

The result:

To model the earth, I used three spheres, one for the earths surface, a second sphere scaled up slightly for the cloud layer, and a third sphere scaled up again for the atmosphere.
The Surface of the earth is rendered by a custom shader using three textures
- a diffuse map with a specular map in the alpha channel, which limits the specular reflection to the oceans.
- a normal map that gives height to the mountains and valleys
- an emission map which illuminates the cities at night time.
The shader that renders the planet restricts the emission map to the dark side of the planet, so cities only glow at night time.

The cloud layer is a standard material which is rendered translucent, and is also bump mapped so that the clouds have depth.

For the atmosphere, I managed to port the shader from the the blue planet demo. The color of the atmosphere can be specified in the material definition.
The sun is a simple fxSunlight, and the moon is a single textured and bump-mapped sphere.
I'm pretty pleased with the outcome. As always, there's still plenty of tweaking to be done.
Anyway, I'll leave you with a few more gratuitous screenshots.
Earthrise

Europe at night

Sunset of West Coast USA

Recent Blog Posts
| List: | 06/03/08 - Blue Marble part 2 05/17/08 - Blue Marble - (warning - pictures) |
|---|
Submit your own resources!| Novack (May 17, 2008 at 09:31 GMT) |
| Steve L (May 17, 2008 at 10:40 GMT) |
| Edward Smith (May 17, 2008 at 11:09 GMT) |
| Matt Huston (May 17, 2008 at 11:24 GMT) |
| Taras (TSK) Anatsko (May 17, 2008 at 12:05 GMT) |
| Steve YorkshireRifles Acaster (May 17, 2008 at 16:28 GMT) |
Quote:
I'm pretty pleased with the outcome.
I bet you are!
| Stephan (viKKing) Bondier (May 17, 2008 at 16:33 GMT) |
Raaaah lovely...
| Pat Wilson (May 17, 2008 at 17:40 GMT) |
| Mike Rowley (May 17, 2008 at 17:54 GMT) |
| Tom Eastman (Eastbeast314) (May 17, 2008 at 22:19 GMT) |
| Ian Roach (May 18, 2008 at 01:11 GMT) |
Edited on May 18, 2008 01:13 GMT
| Don Hogan (May 18, 2008 at 13:10 GMT) |
| Morrock (May 18, 2008 at 18:21 GMT) |
| James Laker (BurNinG) (May 19, 2008 at 07:28 GMT) |
| Todd Pickens (May 20, 2008 at 02:33 GMT) |
| Josh Williams (May 20, 2008 at 05:57 GMT) |
Any chance you might upload the demo of this?
| Guy Allard (May 20, 2008 at 19:06 GMT) |
@James - no problem. I'll sort it out soon.
@Josh - shall I just upload it somewhere and post a link from here?
| James Laker (BurNinG) (May 21, 2008 at 07:05 GMT) |
| Edward (Sep 09, 2008 at 19:29 GMT) |
| Johan Verbelen (Sep 10, 2008 at 12:15 GMT) |
| James Laker (BurNinG) (Sep 10, 2008 at 13:18 GMT) |
Edited on Sep 10, 2008 13:18 GMT
You must be a member and be logged in to either append comments or rate this resource.


4.5 out of 5


