mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
Revert "ui: brighten cameraview (#29744)"
This reverts commit 4772e46121f9adaf35b85f3dcaa416d9aaa7ee1b. old-commit-hash: 023792c431828baa67e63012db55db77f9e8e02b
This commit is contained in:
@@ -41,8 +41,6 @@ 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