LWF to normal 1.0 gamma script

Hello,

is there a easy way (script?) to convert a LWF (gamma 2.2) scene to regular 1.0 gamma.
I think the main part is to handle all the gamma’s of the textures isn’t it ?

I indeed need to combine a 2.2 gamma scene with a 1.0 gamma scene i am working on…

And, if you know how to script to change turn on the “use irr map” in all the vraylights in the scene, that would be a big help as well :wink:

Thanks

lele vray script contains a script called light monkey that will allow you to control a lot of vray light properties including use ir map

for l in lights where isProperty l #storeWithIrradMap do l.storeWithIrradMap = true
Turns store with irradiance on for all scene lights.

No it is sadly not, because the gamma settings within the bitmap setup can not be set via maxscript. If the gamma has been set using ColorCorrect that’s a different
story. But still tough to handle all possibilities (a gamma correction might also be a visual/artistic correction as opposed to linearizing).

Regards,
Thorsten