Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualkidman171

Posted 19 October 2012 - 02:37 PM

Thanks guys for trying to help me solve my problem.
@ BCullis: I set the direction to (1, -1, 1) and it is still completely white. I also tried normalizing the normals before the dot product calculation but once again I saw no visible changes. I have a feeling the pixel shader is outputting (1, 1, 1, 1) but I don't know where the bad calculations are coming from.

Would it be helpful if I upload the entire Visual Studio solution?

#1kidman171

Posted 19 October 2012 - 02:36 PM

Thanks guys for trying to help me solve my problem.
@ BCullis: I set the direction to (1, -1, 1) and it is still completely white. I also tried normalizing the normals before the dot product calculation but once again I saw no visible changes. I have a feeling the pixel shader is outputting (1, 1, 1, 1) but I don't know where the bad calculations are coming from.

Would it be helpful if I upload the entire solution?

PARTNERS