Texturing and lighting

09.08.2007 Anton Volkov

Today we made texturing and soft lighting based on automatic UV-mapping. The real deal is that you have to draw polygons only once. When you change lighting, it changes only texture, and all changes go to basic tex automatically. So we have good optimization and nice look.

Освещение поверхности

Keys:

  • Space — “change” surface

Next demo shows how this automatic UV-mapping is trying to align texture along the surface.

Освещение объекта

Keys:

  • Arrows — rotate object

Sadly, because of new mip-mapping feature in new Flash player alpha, lightmap may dissapear. In this case you can use newest ”release” player.

Leave a Reply