Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualkauna

Posted 13 November 2012 - 04:00 PM

Have you checked your vertex buffer with PIX. The problem may be related to the texture coordinates and PIX will show you if the buffer contains correct values.
Have you enabled your debug runtime? It should show some error message if there is a problem.

I think that the obvious problem with the code is that the output of the vertex shader doesn't match the input of the pixel shader. You should use the VOut as input parameter to the pixel shader to prevent such a mismatch.

Cheers!

#1kauna

Posted 13 November 2012 - 02:36 PM

Have you checked your vertex buffer with PIX. The problem may be related to the texture coordinates and PIX will show you if the buffer contains correct values.
Have you enabled your debug runtime? It should show some error message if there is a problem.

I think that the obvious problem with the code is that the output of the vertex shader doesn't match the input of the pixel shader. You should use the VOut as input parameter to the pixel shader to prevent such a mitch match.

Cheers!

PARTNERS