I anticipate that I already have trouble with shaders
I would create several "point light" using HLSL, where I can create a PointLight in a class.For exemple:
PointLight* light1; PointLight* light3; PointLight* light2; //.... light1 = new PointLight(); light2 = new PointLight(); light3 = new PointLight(); //....
I found this demo, but the 8 lights are created within the. Fx, how do I create a light class in the code?