Texture gamma
Tofusan
Posts: 28
Is there a way to change the gamma value of texture by script?
You currently have no notifications.
Is there a way to change the gamma value of texture by script?
Licensing Agreement | Terms of Service | Privacy Policy | EULA
© 2024 Daz Productions Inc. All Rights Reserved.
Comments
-Rob
Thank you very much. :D
Is there a way to check a particular node for diffuse textures that aren't at 2.2? This is probably a basic question but I'll ask since I'm new to Daz Scripting.
Once you have the map oTexture.getGamma() will get the gamma. For getting the maps, see http://www.daz3d.com/forums/discussion/57229/
But how do you know which channel to set the gamma value? If you want only the Base Color? Or if you want only the Translucency Color?
Thnx Rob
You'd get the image from the property, then use Rob's code to get its gamma.