Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect gamma setting of max bitmap textures #270

Open
rbrune opened this issue Feb 21, 2019 · 0 comments
Open

Respect gamma setting of max bitmap textures #270

rbrune opened this issue Feb 21, 2019 · 0 comments

Comments

@rbrune
Copy link

rbrune commented Feb 21, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants