Is it possible to enable per-pixel lighting (so that I can have nice specular highlights on low tessellated surfaces) in the OpenGL fixed function pipeline?
+2
A:
The only way to do this is using precomputed cubemaps. The fixed function pipeline interpolates colors and texture coordinates across polygons. Color is useless but the texturing can be used.
It won't be position-dependent, but you can precalculate cubemaps for areas and blend between them using BLEND_ADD and drawing it twice with both cubemaps you're LERPing between.
Forrest
2010-08-06 06:45:12
So I can conclude that per pixel evaluation of the lighting equation is not possible in the opengl fixed function pipeline.
Jakob Schou Jensen
2010-08-13 11:48:51