Wolfgang Kienreich wrote:

> It nearly works now:
> bumpmapping goes into the first stage, then the second stage uses
> interpolation to add (texture * objectcolor)+ (bumpmap*(1-objectcolor)) with
> the bumpmap being inverted first by usign ONE_MINUS_SRC_COLOR.

Why do you do this in such way ? I have just read a bit about dot
bumpmap, and for me it seems that you should use just
stage0 = bumpmap dot object_color
stage1 = stage0 * texture
and put direction to light in color data of each vertex.

Artur

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to