Enabling Direct3D-specific features (transparency AA)

Posted by Bill Kotsias on Stack Overflow See other posts from Stack Overflow or by Bill Kotsias
Published on 2010-03-26T11:41:57Z Indexed on 2010/03/26 11:43 UTC
Read the original article Hit count: 561

Hello. I am trying to enable transparency antialiasing in my Ogre-Direct3D application, but it just won't work.

HRESULT hres = d3dSystem->getDevice()->SetRenderState(D3DRS_ADAPTIVETESS_Y, (D3DFORMAT)MAKEFOURCC('S', 'S', 'A', 'A'));
/// returned value : hres == S_OK !

This method is taken from NVidia's technical report.

I can enable transparency AA manually through the NVIDIA Control Panel, but surely I can't ask my users to do it like this. Anyone has any idea?

Thank you for your time,

Bill

© Stack Overflow or respective owner

Related posts about direct3d

Related posts about ogre3d