Textures w/ alpha channel

New Message Reply Date view Thread view Subject view Author view

Amaury Aubel (aubel++at++lig.di.epfl.ch)
Mon, 26 May 1997 17:02:22 -0600


Hi,

I have a pfGeoSet which has a a 4-component texture and a material.
What I want is the texture to show through for the pixels where alpha = 0. And
in this case the material to be displayed.

When I set the texture environment mode to PFTE_MODULATE, the GeoSet is
textured and shaded but does not show through, which is compliant with the man
page.
If I set it to PFTE_DECAL, the GeoSet is textured and does shows through but it
IS NOT shaded. Why?

Is there a way to work around this?

Amaury.

-- 
+----------------------------------------------------------------------+

Amaury Aubel aubel++at++lig.di.epfl.ch EPFL-LIG, 1015 Lausanne/Switzerland Fax: +41 21 693 53 28 Swiss Federal Institute of technology, Computer Graphics Lab

+----------------------------------------------------------------------+

======================================================================= List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:18 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.