How to do blending in D3d

Started by
0 comments, last by radio 20 years, 12 months ago
Help! How can I translate glBlendFunc(GL_ONE, GL_ONE) from OpenGL to D3d? Thanks!
Advertisement
device->SetRenderState( D3DRS_SRCBLEND, D3DBLEND_ONE );
device->SetRenderState( D3DRS_DESTBLEND, D3DBLEND_ONE );

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

Simon O'Connor | Technical Director (Newcastle) Lockwood Publishing | LinkedIn | Personal site

This topic is closed to new replies.

Advertisement