rendering luminance

I can’t find a way to render the luminance of the scene. The goal is to create a night vision effect that would render the luminance of the scene modulated in green. Does someone have a clue how to achieve this ?

It’s easy. There are material attributes that you can change, all you have to do is set their “ambient” lighting to whatever luminance value you need. Lemme see if I can get any more info for you… I believe it’s glMaterial() and other associated functions. Well, I am not at home so I’ll have to get back to you on this matter. Anyways, what I can gather here, I think you turn off lighting, and then control the object’s colors via the materials. Somebody plz correct me if I’m wrong.