Prakash Mahesh (gpmahesh++at++drawcomp.com)
Sun, 7 Jun 1998 19:01:01 -0400 (EDT)
--
We have been attempting to combine different texturing modes (a
mixture of modulate and decal) in Performer to allow for the following
behavior for 4 channel texture images:
C = (1-At)Cf + At(Ct)
A = At
where At is the alpha channel for the texel,
Cf is the color of the fragment,
and Ct is the color of the texel.
This differs from the standard approach which is:
C = (1-At)Cf + At(Ct)
A = Af ****
where At is the alpha channel for the texel,
Af is the alpha channel for the fragment,
Cf is the color of the fragment,
and Ct is the color of the texel.
Is there a simple way to achieve such functionality when using
Performer on top of OpenGL?
Thanks for any help.
--
Prakash Mahesh
prakash++at++drawcomp.com
--or--
prakash++at++openworlds.com
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:57:31 PDT