tgraupmann

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

Discussion created by tgraupmann on Dec 17, 2008
Latest reply on Dec 17, 2008 by 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'

Outcomes