OpenGL on pixel pipeline lighting with fixed function

Is it possible to turn on the pixel highlight (so that I have good specular highlights on low-temperature surfaces) in the pipeline of a fixed OpenGL function?

+4
source share
1 answer

The only way to do this is to use precalculated cubes. A fixed functional pipeline interpolates colors and texture coordinates along polygons. Color is useless, but texture can be used.

It will not be position-specific, but you can pre-calculate the cubmaps for the areas and mix them together using BLEND_ADD and draw it twice using both cubes that you perform between LERPing.

+3
source

All Articles