Re: [Plib-users] Re: Best way to setAlphaClamp for translucent leaf states loaded by ssgLoadAC?
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2003-08-08 21:00:54
|
Cameron Lerch wrote: > Oops.. GL_ALPHA_TEST is disabled even if the object is translucent. So > my question changes slightly; where/how is the best way to enable > GL_ALPHA_TEST and setAlphaClamp for each translucent state? I use: ssgSetAppStateCallback ( ... ) ; This causes the loader to call a function in the application every time it feels like creating a new ssgState. This allows the application to set every aspect of the state and not leave it up to the loader. ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://www.sjbaker.org Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net -----BEGIN GEEK CODE BLOCK----- GCS d-- s:+ a+ C++++$ UL+++$ P--- L++++$ E--- W+++ N o+ K? w--- !O M- V-- PS++ PE- Y-- PGP-- t+ 5 X R+++ tv b++ DI++ D G+ e++ h--(-) r+++ y++++ -----END GEEK CODE BLOCK----- |