ui: brighten cameraview (#29744)
* test * test2 * Revert "test2" This reverts commit 22e38f82ae81f625f00179413f4c5f869a6de23e. * Revert "test" This reverts commit 717490c1bcddcd5339aed85d4716a58495a5c52c. * looks fine * mid * description --------- Co-authored-by: Comma Device <device@comma.ai> old-commit-hash: a08cdfdda7e1a2bc50024bffc45295a322da42f9
This commit is contained in:
@@ -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
|
||||
const char frame_fragment_shader[] =
|
||||
|
||||
Reference in New Issue
Block a user