View Full Version : Per Pixel Lightning : the same problem but source code available

Leyder Dylan
09-23-2002, 07:46 AM
When I use PPL, the textures are black, for me it's a belding problem or a multitexturing problem.

Now, the source code is available to download so I hope that it will be more easy for you to try it.


F ==> Moving the light toward Z
V ==> Moving the light to you
D ==> Moving the light left
G ==> Moving the light right

You can download the source code here :

Here's a screenshot of my problem :


Leyder Dylan
09-23-2002, 07:48 AM

Leyder Dylan
09-23-2002, 07:49 AM
Damned, it's the correct link ...


09-27-2002, 12:39 AM
Please don't cross-post (http://www.opengl.org/discussion_boards/ubb/Forum2/HTML/009999.html) .

Since both per-pixel lighting and register combiners are pretty advanced techniques, you may not expect alot of answers in the beginners forum, though.

09-27-2002, 12:47 AM
hehe.. 2 opengl, one flipcode, one gamedev, or two even there? http://www.opengl.org/discussion_boards/ubb/biggrin.gif th ultraposter http://www.opengl.org/discussion_boards/ubb/biggrin.gif and 2 times the same post (just once with sourcecode http://www.opengl.org/discussion_boards/ubb/biggrin.gif)

09-27-2002, 01:27 AM
I think it was 2 times on gamedev...,
I have never seen such a big cross-post http://www.opengl.org/discussion_boards/ubb/smile.gif http://www.opengl.org/discussion_boards/ubb/smile.gif