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

#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