Original Post
Hi, I want to ask a simple question. In Direct3D you can enable light using LightEnable. But there is a limit about number of lights (8 or something). If you use vertex shader you are limited with constant registers of graphics card. In a game, at night, there can be many car driving around. They have at least two headlights. What is the trick which allows using many light source in a scene? If you can give ve some glue, link, article I would be glad. Thank you in advance. BSekerci