Texture mapping and lighting effects
Abstract
The light mapping is a texturing method. It is useful because the common lighting required more computer recourses and various difficult calculations. All lighting and shading methods required powerful computers. In order to solve this problem we can use the light mapping. For this method we need two textures: first texture for surface detail and second texture for fighting simulation. The multitexturing is the best way to realise the combination of the two textures. All three graphics programing platforms (DirectX, OpenGL and WebGL) have the opportunity to implement a light mapping. WebGL is a special branch of OpenGL that is responsible while using the Internet. All of these platforms allow Multitexturing.. Its realization is analogous. But light mapping requires few resources to extract the lighting effects. It is therefore interesting to realize light mapping WebGL platform. Realization is successful and the code is running in real time. The result is the lighting effect, which looks like a really calculated lighting.