   Access FF Lights in a Shader?
  Is there a way to access the FF Lights in a .fx file?In GLSL you can do something like gl_LightSource[0].diffuse Is there a similar call in HLSL?The reason im asking is ive done the pass in constant info to the shader..float4(pos.x, pos.y, pos.z, range);float4(r, g, b, intensity);float4(dir.x, dir.y, dir.z, cone_I.cone_O);and then unpack it to form my light structure, but I was wondering ifit is faster, if the card already has the ability to hold the (Diffuse,Theata.Phi) information, that I could just load those structures upbefore I hit the shader.   
  No, not that I know of.Modern hardware emulates the fixed function pipeline using shaders anyway, so the device driver will just be uploading those same constants anyway - there would be no savings in tapping into the FFP state. Besides, the fixed function pipeline is being phased out of Direct3D, so it's probably not worth wanting to rely on some detail of its implementation.   