PDA

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.

Use

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 :
http://ibelgique.ifrance.com/Slug-Production/Slug3D-V-0.6-Light.zip

Here's a screenshot of my problem :

http://ibelgique.ifrance.com/Slug-Production/Images/Screenshot_0.jpg

Leyder Dylan
09-23-2002, 07:48 AM
http://ibelgique.ifrance.com/Slug-Production/Images/Screenshot_0.jpg

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

http://ibelgique.ifrance.com/Slug-Production/Images/Screenshot_0.jpg

vincoof
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.

davepermen
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)

Bruno
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