Skip to content

Commit

Permalink
Update res/shaders/rendergraph/unicolor.frag
Browse files Browse the repository at this point in the history
Co-authored-by: Swiftb0y <12380386+Swiftb0y@users.noreply.github.com>
  • Loading branch information
2 people authored and m0dB committed Oct 19, 2024
1 parent 390dd0e commit afdc0ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion res/shaders/rendergraph/unicolor.frag
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit afdc0ed

Please sign in to comment.