Is it possible to enable per-pixel lighting (so that I can have nice specular highlights on low te开发者_运维百科ssellated surfaces) in the OpenGL fixed function pipeline?
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.
精彩评论