appleseed-max icon indicating copy to clipboard operation
appleseed-max copied to clipboard

Respect gamma setting of max bitmap textures

Open rbrune opened this issue 7 years ago • 0 comments

When using linear textures in an Bitmap as an input to e.g. a diffuse color the gamma override setting in the 3ds Max Bitmap dialog is ignored and an sRGB to linear conversion node is inserted.

The corresponding check is done in utilities.cpp / is_linear_texture(BitmapTex* bitmap_tex) function which just checks the file ending against .exr and .hdr. As a first improvement we should check if the input gamma is overridden and set to 1.0.

rbrune avatar Feb 21 '19 15:02 rbrune