In the CS manual it says, or seems to say, that multiple lights can be
available to a shader program, (cg language shaders in my case) like light 1
color for example

"""
Lighting
‘N’ denotes the light number. The first light is light number 0. The upper
limit for the value of ‘N’ depends on the shader as well as the render loop.

  ‘light ambient’
  Ambient lighting color.

  ‘light N position’
  Light position in camera space.

  ‘light N position world’
  Light position in world space.

  ‘light N transform’
  """
but I havn't been able to get this to work with any settings, only light 0
is set. I can see it set in the source code too, but no other lights are
set. How could I get this to work?


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Crystal-main mailing list
Crystal-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to