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

This reverts commit e7f7189d2dc339f76d92762c1b9b2fa720ed87e4.
old-commit-hash: c155749b29cacdd86d2fad90506dc2e276f99e04
This commit is contained in:
Adeeb Shihadeh
2024-03-12 14:27:12 -07:00
committed by GitHub
parent 38c85b01f0
commit dd371305a0
+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__