Welcome, Guest

Author Topic: Normal Maps  (Read 4853 times)

Laura

  • *****
  • Posts: 123
Normal Maps
« on: May 25, 2010, 08:27:42 PM »
Do normal maps work at all? I see the moon has one, but there's no indication that it's having any effect. Its apparent bumpiness seems to come from the diffuse texture, which has shadows in the craters. With the normal map, there should be shadows that follow the topography of the normal map in relation to the light source, but that doesn't seem to happen.

Dan Dixon

  • Creator of Universe Sandbox
  • Developer
  • *****
  • Posts: 3244
    • Personal Site
Re: Normal Maps
« Reply #1 on: May 25, 2010, 09:05:23 PM »
Do normal maps work at all?

No. They've not been turned on. Although, you're right, I include one for the moon that isn't loaded or used.

A normal map is a texture to create the appearance of complex height differences on a surface:
http://en.wikipedia.org/wiki/Normal_mapping

While I may turn normal maps on in the future, if the normal map effect was scaled realistically you probably wouldn't be able to see any difference because while the moon is 3475 km across the highest mountain on the moon is only about 5km tall. This is a ratio of 1/695 so if the moon was 700 pixel across the mountain would only be a single pixel difference in height.

http://en.wikipedia.org/wiki/List_of_mountains_on_the_Moon

It would still be cool to turn it on and make the map effect very dramatic.
« Last Edit: May 25, 2010, 10:29:43 PM by Dan Dixon »

Laura

  • *****
  • Posts: 123
Re: Normal Maps
« Reply #2 on: May 25, 2010, 09:51:09 PM »
While I may turn normal maps on in the future, if the normal map effect was scaled realistically you probably wouldn't be able to see any difference because while the moon is 3475 km across the highest mountain on the moon is only about 5km tall. This is a ratio of 1/695 so if the moon was 700 pixel across the mountain would only be a single pixel difference in height.

http://en.wikipedia.org/wiki/List_of_mountains_on_the_Moon

It would still be cool to turn it on and make the map effect very dramatic.


 in reality the height scale of features on the moon wouldn't be visible to an observer

It is true, of course, that the moon would still appear to be perfectly spherical but the height differences would make themselves known through light and shadow - as they do on actual photographs of the moon.
Enabling normal maps would allow one to make a diffuse map without any intrinsic light and shadow effects, and then have those provided by the normal map, so that they'd change dynamically with rotation of the object in US2. Also, on smaller objects such as asteroids, the height differences would be more readily visible.

I'd certainly love to have the option :)

EDIT: My point is not so much to have the moon model appear more realistic, nice though that might be, but rather creating new textures with normal maps.