PDA

View Full Version : Per-pixel lightning



skinkflex
01-23-2002, 11:58 AM
Does anyone know any good tutorials on per-pixel lightning out there?

Nutty
01-23-2002, 12:05 PM
What specifics of per pixel lighting are you wanting to learn?

skinkflex
01-23-2002, 12:37 PM
Last week I found a tutorial on point lights using the Register Combiners, using one 2d and one 1d texture. Where those where multiplied with each other. So with a not-very-good-tutorial and some thinking a ended up with a surface. That had "dots" tiled out over it.

Therefor I'm looking for a good tutorial on this subject.

Nutty
01-23-2002, 12:46 PM
Haven't seen any tutorials on it myself, except nvidia's developer site, with loads of pdfs n powerpoint stuff..

Thats your best bet..

NitroGL
01-23-2002, 03:04 PM
Originally posted by skinkflex:
Does anyone know any good tutorials on per-pixel lightning out there?

Try my site (http://www.nitrogl.com, on the code/tutorial page), I have a sample that shows simple DOT3 bump mapping (aka per-pixel lighting) with out any special hardware (only needs multitextuing, texture combiners, and the DOT3 extensions).

Hope it helps! http://www.opengl.org/discussion_boards/ubb/smile.gif

Edit:
Nope, that doesn't help much, since that link doesn't work http://www.opengl.org/discussion_boards/ubb/wink.gif

This should work: http://nitrogl.cjb.net
or http://www.geocities.com/nitrogl_10_29_00/


[This message has been edited by NitroGL (edited 01-23-2002).]