Bump-map a sphere with a texture map

我是研究僧i 提交于 2019-11-28 02:30:15
Spektre
  1. usually rectangle texture is used for spheres

    texture (u,v) coordinates are used as angles for spherical coordinates. The result is that texels are bigger near equator and smaller near poles. At poles all the texels merge to single pixel. This is how to do it

    When you use these maps (color,normal,light,clouds):

    when combined with single light source (Sun) I got this result:

    On the left side with atmospheric scattering and on the right without it. If you zoom a bit you can see the mountains.

  2. There are more ways then just rectangular sphere maps

    You can use non linear sphere maps with different properties like eqisurface/distance etc. Here some examples of sphere maps (from google):

    rectangular:

    equidistant/paper model:

    equidistant:

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!