Original Post
Hi everybody,
I have a problem : Ive been trying to achieve simple point lighting in Direct3D using PPL WITHOUT shaders, but also without any success... and I hope ull be able to help me.
Basically, I have a simple QUAD made of two triangle formed into a strip. What I want achieve is *simple* : light this quad like the nice screenshots we see on the NVIDIA docs. But I really dont know how to do it. Ive tried bump mapping and it works fine... even point light bump mapping works (by setting the light vector for each vertex into the vertex diffuse component).
What I want to have so, is a sort of circle of light on my wall (because of the point light), but I definitely dont know which render states to use. For now, without talking about bump mapping, I only want a simple point light working.
So, please, could anyone help me to achieve this "dream" by posting code or explaining how to do it, do i have to use attenuation maps to do this ? etc... I already googled it a thousand times and I know the nvidia docs by heart now
Thanks a lot in advance,
Sebastien.