Projected Textures and Fog

Is it possible to have FOG work in Linear mode along the trajectory of a slide projected image.

Situation: I have a projection setup where I have a static quad and then rotate a slide projector around the quad. And acquire the image that is then rendered as the quad sits in field of the rotating projector. I would like to apply fog to the projection such that the colors fade as light moves away from the start of the projection. Is this possible? Right now fog is affecting where the quad lies not the light coming from the projector.


Regular fog is always relative to the eye position. However, you can use the ext_fog_coord extension to manually specify the amount of fog that has to be applied to each vertex.

  • Tom