From afdc0eda6c4a3d03fb0f718fea81d594140cfe49 Mon Sep 17 00:00:00 2001 From: m0dB <79429057+m0dB@users.noreply.github.com> Date: Sun, 22 Sep 2024 13:15:42 +0200 Subject: [PATCH] Update res/shaders/rendergraph/unicolor.frag Co-authored-by: Swiftb0y <12380386+Swiftb0y@users.noreply.github.com> --- res/shaders/rendergraph/unicolor.frag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/shaders/rendergraph/unicolor.frag b/res/shaders/rendergraph/unicolor.frag index e4a8535e349..7099bb8f3dd 100644 --- a/res/shaders/rendergraph/unicolor.frag +++ b/res/shaders/rendergraph/unicolor.frag @@ -9,5 +9,5 @@ ubuf; layout(location = 0) out vec4 fragColor; void main() { - fragColor = vec4(ubuf.color.xyz * ubuf.color.w, ubuf.color.w); // premultiple alpha + fragColor = vec4(ubuf.color.xyz * ubuf.color.w, ubuf.color.w); // premultiply alpha }