mirror of
https://github.com/storytold/photocraft.git
synced 2026-12-02 06:20:48 +01:00
docs(compose): the glow knee lands on a table entry for both techniques
This commit is contained in:
1 parent
bb347d5ffd
commit
f5014d0a30
1 file changed
+3
-3
@@ -48,9 +48,9 @@ pub fn glow_lut(g: &Glow) -> Option<Vec<f32>> {
|
||||
/// (`glow_reach_edge`, 0 at and beyond the reach, 1 from a pixel inside it), and the transfer is
|
||||
/// `min(contour(u), max(edge, u))`, with `u = min(v / range, 1)` what a Linear contour paints.
|
||||
/// The edge is linear in `v` from 0 until it reaches 1 (`glow_edge_per_coverage`), so the
|
||||
/// table's linear interpolation follows it, its first step from entry 0 included (Softer's knee
|
||||
/// also lands on a table entry; Precise's falls between two, which chord it); the coverage
|
||||
/// where it reaches 1 is per technique:
|
||||
/// table's linear interpolation follows it, its first step from entry 0 included (the knee is
|
||||
/// rounded down to a table entry for both techniques); the coverage where it reaches 1 is per
|
||||
/// technique:
|
||||
///
|
||||
/// - Precise: the falloff is linear in distance, so the edge is the distance left to the reach's
|
||||
/// end: the last pixel steps down by how far inside the reach its centre is (one soft pixel,
|
||||
|
||||
Reference in new issue
Block a user