Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Lupin

lit vertices with the same alpha-value

This topic is 5669 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have some lit vertices, but now I need to change the alpha-value of my whole mesh without going through all vertices and changing the value manually. I thought of using materials, but I couldn''t use the material without loosing all my vertex-color informations

Share this post


Link to post
Share on other sites
Advertisement
SetTSS( stage, D3DTSS_ALPHAOP, D3DTOP_MODULATE );
SetTSS( stage, D3DTSS_ALPHAARG1, D3DTA_TEXTURE );
SetTSS( stage, D3DTSS_ALPHAARG2, D3DTA_TFACTOR );
SetRS( D3DRS_TEXTUREFACTOR , 0xAA FFFFFF );


--
Simon O'Connor
Creative Asylum Ltd
www.creative-asylum.com

[edited by - S1CA on February 10, 2003 8:02:02 AM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!