Archived

This topic is now archived and is closed to further replies.

_Rambo_

Setting up register combiners

Recommended Posts

Hi, i''m doing per-pixel lighting with bump mapping and now i need to set up register combiners to perform dot products between L vector(light vector) and N'' (normal vector). I''ve transformed L into texture space. Well... L vector is passed to glColor3f() so it can be interpolated through the triangle and the dot product is performed between texture unit0(normal map) and texture unit1(base texture), right ? Anyone would like to help setting up register combiners ? Correct me if i said something wrong please. Thanks, bye.

Share this post


Link to post
Share on other sites