Luminance mapping can be done even without a shader, just with the fixed function pipeline.