Reapply "ui: brighten cameraview (#29744)" (#31846)

This reverts commit 023792c431.
This commit is contained in:
Adeeb Shihadeh
2024-03-12 14:27:12 -07:00
committed by GitHub
parent de7f14dbd7
commit c155749b29
+2
View File
@@ -41,6 +41,8 @@ const char frame_fragment_shader[] =
"out vec4 colorOut;\n"
"void main() {\n"
" colorOut = texture(uTexture, vTexCoord);\n"
// gamma to improve worst case visibility when dark
" colorOut.rgb = pow(colorOut.rgb, vec3(1.0/1.28));\n"
"}\n";
#else
#ifdef __APPLE__