tornavis/source/blender/gpu/shaders/gpu_shader_flat_color_frag....

12 lines
264 B
GLSL

/* SPDX-FileCopyrightText: 2016-2022 Blender Authors
*
* SPDX-License-Identifier: GPL-2.0-or-later */
#pragma BLENDER_REQUIRE(gpu_shader_colorspace_lib.glsl)
void main()
{
fragColor = finalColor;
fragColor = blender_srgb_to_framebuffer_space(fragColor);
}