2022-06-25 11:52:00 +08:00

10 lines
198 B
C++

// Copyright (c) 2017-2019 Xiamen Yaji Software Co., Ltd.
#include <gamma>
vec4 CCFragOutput (vec4 color) {
#if OUTPUT_TO_GAMMA
color.rgb = LinearToSRGB(color.rgb);
#endif
return color;
}