View Full Version : rendering luminance
11-12-2002, 10:32 AM
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 ?
11-12-2002, 12:40 PM
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.