I can't find anywhere in the Maxscript reference to do with the "use systems default gamma" when you load a bitmap into a material.
I need all my bitmaps to load in as "use systems default gamma" but it uses 'use image's own gamma' instead by default.
Below is my code for loading in an material and applying the material to the selected object.
meditMaterials[1].name = $.name
meditMaterials[1].diffuseMap = Bitmaptexture fileName: exportName
meditMaterials[1].selfIllumAmount = 100
meditMaterials[1].showInViewport = on
$.material = meditMaterials[1]
Replies
Whilst modelling and texturing this setup works well. However when I load the bitmap that has been baked it needs to be changed to use system default instead of using the images own gamma otherwise the gamma is incorrectly displayed.
I have tried different combinations of gamma settings but none seem to make a difference unless I'm overlooking something?