Hardware Agnostic Per-Pixel Lighting with Bump Map

Before you go getting all excited this isn’t a tutorial, it’s the opposite - has anyone got a nice demonstration of some per-pixel lighting with proper attenuation, diffuse bump mapping, and specular gloss mapping - that doesn’t use any extensions other than ARB and EXT and that doesn’t require fragment programs?

I can come up with a huge multipass version but that would seem to be a rather slow way to do it…

Cas :slight_smile:

Per pixel lighting without a fragment program, can’t think of any way to do that in a non hardware specific manner because the old pipeline is per-texel so you’d have to fake it (slowly) in mutiple passes.

That’s what I thought :frowning: Per-texel’s good enough for me though.

Cas :slight_smile: