Jump to content

  • Log In with Google      Sign In   
  • Create Account

#Actualunbird

Posted 19 December 2012 - 02:47 PM

For shader model 3 there's also the VFACE semantic, automatically available in the pixel shader (just define a float face : VFACE parameter in your shader function).

Or are you using the fixed function pipeline ?

@Gavin: Hmmm, does this really work ? E.g. normals don't need to coincide with the face normals.

#1unbird

Posted 19 December 2012 - 12:52 PM

For shader model 3 there's also the VFACE semantic, automatically available in the pixel shader (just define a float face : VFACE parameter in your shader function).

Or are you using the fixed function pipeline ?

@Gavin: Hmmm, does this really work ? E.g. normals don't need to coincide with the face normals.

PARTNERS