Angus Dorbie (dorbie++at++sgi.com)
Fri, 03 Jul 1998 11:53:12 -0700
The token you use is wrong, it should be PFTR_ON or on IMPACT
you could be explicit and declare PFTR_BLEND_ALPHA. Perhaps the
tokens changed between releases, I haven't checked.
A global override for transparency is a bad thing anyway, it'll
slow you down unless it's in the right draw callback.
Also the pfAlphaFunc (and alpha ref) should also be overridden
since it is a separate state.
Your alpha ref is also very high which could cause unwanted
aliasing. It's better to lower this value enable sorting in
the draw callback and depth sort the transparency bin.
Cheers,Angus.
-- "Only the mediocre are always at their best." -- Jean GiraudouxFor advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.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:40 PDT