12 lines
357 B
GLSL
12 lines
357 B
GLSL
/* SPDX-FileCopyrightText: 2017-2022 Blender Authors
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
void main()
|
|
{
|
|
vec4 sampled_color = texture(image, texCoord_interp);
|
|
fragColor = vec4(sampled_color.r * shuffle.r + sampled_color.g * shuffle.g +
|
|
sampled_color.b * shuffle.b + sampled_color.a * shuffle.a) *
|
|
color;
|
|
}
|