Using light and camera position

  ... discussions regarding GLES2 ShaderPrograms (VertexShaders and FragmentShaders).

Using light and camera position

Postby unbeatsoft » Thu May 09, 2013 7:23 am

I found shader that uses
"uniform vec3 u_camera;"+
"uniform vec3 u_lightPosition;"+
But not found such shader constants!!!.
It will correct vec3 u_camera=vec3(0.0, 0.0, 1.0); ?
Posts: 4
Joined: Sun Mar 17, 2013 12:37 pm

Return to ShaderPrograms

Who is online

Users browsing this forum: No registered users and 1 guest