We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
PR: regl-project/regl#523
The bottom baseColor is correct while the top is wrong:
So we must do this conversion manually for now until regl fix this bug.
// pbr-frag.glsl vec4 SRGBtoLINEAR(vec4 srgbIn) { vec3 bLess = step(vec3(0.04045),srgbIn.xyz); vec3 linOut = mix( srgbIn.xyz/vec3(12.92), pow((srgbIn.xyz+vec3(0.055))/vec3(1.055),vec3(2.4)), bLess ); return vec4(linOut,srgbIn.w);; }
The text was updated successfully, but these errors were encountered:
fix: do srgb conversion manually #2
bc75eea
No branches or pull requests
PR: regl-project/regl#523
The bottom baseColor is correct while the top is wrong:


So we must do this conversion manually for now until regl fix this bug.
The text was updated successfully, but these errors were encountered: