Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualtrevex

Posted 23 December 2012 - 05:50 PM

Ok just noticed I was setting last value to 0.0 and not 1.0...
The problem now is I changed the z value of the input vertices to 0.0f no change, I changed the shader to set the z value to 0.0f I get some output, still not the right shaded cube but it seems to be a problem with my lighting code...

But this would be kind of a dirty fix, so why is the Z value being set to -1...?

#1trevex

Posted 23 December 2012 - 05:46 PM

Ok just noticed I was setting last value to 0.0 and not 1.0...

The problem now is I changed the z value of the input vertices to 0.0f no change, I changed the shader to set the z value to 0.0f I get some output, still not the right shaded cube but it seems to be a problem with my lighting code...


PARTNERS