mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-10-01 03:43:46 +08:00
This reverts commit e7f7189d2dc339f76d92762c1b9b2fa720ed87e4. old-commit-hash: c155749b29cacdd86d2fad90506dc2e276f99e04
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
|
||||
#ifdef __APPLE__
|
||||
|
||||
Reference in New Issue
Block a user