Skip to content

Commit 21a4557

Browse files
committed
add link
1 parent 4aaec99 commit 21a4557

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

shaders/src/shaders/loading_repeating_circles.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -689,7 +689,8 @@ fn draw_time_bar_discrete(
689689
final_alpha
690690
}
691691

692-
/// Alpha compositing using "over" operator
692+
/// Alpha compositing using "over" operator.
693+
/// https://en.wikipedia.org/wiki/Alpha_compositing
693694
fn composite_layers<const N: usize>(overlay_colors: &[Vec4; N]) -> Vec4 {
694695
let mut result = Vec4::ZERO;
695696
for i in (0..overlay_colors.len()).rev() {

0 commit comments

Comments
 (0)