Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

mdx

Member Since 19 Nov 2008
Offline Last Active Feb 16 2012 11:54 AM
-----

Posts I've Made

In Topic: TransparencyAA10.1 BackFace Problem

16 February 2012 - 07:45 AM

So i have found the problem...
in the SDK Shader the RasterizerState is set twice...  That's not working right...  and Culling is using the default Value

technique10 RenderAlphaToCoverage
{
pass P0
{
SetDepthStencilState( EnableDepthTestWrite, 0 );
SetRasterizerState( DisableCulling );
SetRasterizerState( EnableMultisampling );
SetBlendState( AlphaToCoverage, float4( 0.0f, 0.0f, 0.0f, 0.0f ), 0xFFFFFFFF );

SetVertexShader( CompileShader( vs_4_0, VsRenderScene() ) );
SetGeometryShader( NULL );
SetPixelShader( CompileShader( ps_4_0, PsAlphaToCoverage() ) );
}
}

PARTNERS