Recent content by DarkCW

  1. D

    Cg problems. Help

    Well, eventually I find the mistake. I had an error with one of the parameters in the Vertex program. The VP compiled well because the syntax was correct, but then... I had put: leftTexCoord = texCoord + leftTexCoord; instead of: leftTexCoord = texCoord + leftOffset; :roll...
  2. D

    Cg problems. Help

    Can't anyone help me? By the way, I have written that same shader with the Fx composer, and it works perfectly. This is the code of the shaders: //Vertex program void main( float3 posicion : POSITION, float2 texCoord : TEXCOORD0, out float4 oPosition : POSITION, out...
  3. D

    Cg problems. Help

    Hello, I'm new here. I'm starting with Cg. I have made a couple of things with it and OpenGL. Everyting ok until now. I was trying to run an example of the book "The Cg Tutorial", but I can't execute it properly. The Cg program creates a Double Vision Effect using a Vertex and a Fragment...
Back
Top