Jump to content

  • Log In with Google      Sign In   
  • Create Account


Mona2000

Member Since 08 Sep 2011
Offline Last Active Jul 20 2014 08:16 AM
-----

Posts I've Made

In Topic: SamplerState in code or HLSL?

20 July 2014 - 08:17 AM

I really wouldn't recommend using the effects framework (it's old and no longer updated)

 

Not that I'm a fan of the effects framework, but it's still being updated.


In Topic: MSAA artifacts

18 July 2014 - 10:06 AM

Try max(dot(H, normalVS), 0.0001f) and/or max(Ns, 0.0001f)? IIRC if both are zero you get NaN.


In Topic: Direct3D 11 Swap-Chain Madness

23 June 2014 - 05:55 PM

Are you sure you got debug logging properly working? IIRC exception 0x87a is the debug layer error exception.


In Topic: VFACE semantic in hlsl (SM3)

14 May 2014 - 09:12 AM

My guess is the combination of dynamic branching + vface breaks something in the compiler (bug). Try kauna's refactored code (seemed to produce saner asm when i tried it) or try putting a [flatten] in front of the if statement.


In Topic: VFACE semantic in hlsl (SM3)

14 May 2014 - 07:56 AM

Under SM3, a bool works perfectly too (and apparently better than a float). fxc magic ;)


PARTNERS