Wolfgang Kienreich wrote: > Another problem: I'm using dot3 bumpmapping and I've been trying for some > time to combine it with object color and texture within just two texture > stages. Btw, thanks to j3d.org for explaining. 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. However, the > effects are hard to control, I would require a method for scaling down the > bumpmap to avoid shaded areas to be highlighted too much by the bumpmap. Is > there *any* possibility to control what happens inbetween texture stages?
Just a blind guess - maybe setCombineRgbScale of TextureAttributes will help ? I have not used it and I hope it _divides_ output by factor, not multiplies, but if it isn't a case, you could always add a stage and multiply by constant color 0.5,0.5,0.5. 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".
