gl_LightSource in HLSL or equivalent

Started by
-1 comments, last by Screamer 15 years, 5 months ago
Does anyone know what the equivalent call in HLSL is? I'm trying to make multiple lights work and my friend has an example where he calls gl_LightSource for each light and then makes a computation based on that. Can someone help me to do something simmilar in HLSL?

This topic is closed to new replies.

Advertisement