Login  Register

Re: sRGB and gamma correction in Java3d

Posted by jimzuber on Jun 18, 2018; 6:38pm
URL: https://forum.jogamp.org/sRGB-and-gamma-correction-in-Java3d-tp4038946p4038948.html

Thanks for the quick response. Unfortunately none of the supported formats for texture loader is sRGB. Obviously I can convert the sRGB image to linear RGB before using the texture loader with format RGBA. If I do that, I am confident that the blending will occur in linear space, which is what I need to happen My real question is that happens on the output rendering side. Does the linear RGB just get sent to the monitor? And if so, is there a way to intercept it to convert it back to sRGB before the monitor gets in when Java3d is rendering the image.