2 Replies Latest reply on Dec 17, 2008 9:08 PM by tgraupmann

    [RESOLVED] [Video] RenderMonkey can't find variable (question)

    tgraupmann
      Can't find lightPosition? in second pass

      RenderMonkey can't find a uniform variable in the vertex program input.

      What am I doing wrong here?

      http://screencast.com/t/0V02Fw3A

       

      This is my error output:

       

      Constant '$lightPosition' was not found in the workspace.  Please create the node first and then add it as a constant.
      Compiling vertex shader API(D3D) /../Textured/Pass 1/Vertex Shader/ ...success
      RENDERING ERROR(s):
         Missing shader constant parameter named '$lightPosition' in vertex shader 'Vertex Shader' in pass 'Pass 1'