Register  |  FAQ  |  Search  |  Memberlist  |  Usergroups  |  Log in 
Reply to topic
 Bump Mapping - DotProduct3 
Site Admin

Joined: 25 Dec 2006
Posts: 98
Reply with quote

DotProduct3 is a high-level bump mapping technique, it can achieve per-pixel lighting without pixel shader.
With DotProduct3 bump mapping, a normal map is used to represent per-pixel 3-space normals to a surface. At each pixel, it is possible to compute a dotproduct with another 3-space vector which represents the vector to a given light source.

In Awakening, you can use this technique by writing Shader Text.
See sample:
Download (394K)

(to open the sample scene in Awakening, just first copy 'effects' and 'textures' folders to Awakening's install folder.)

In the next version of Awakening, full DotProduct3 support:
View user's profile Send private message Send e-mail
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

 Reply to topic