Files
Graphite/node-graph/nodes/brush/src/basic_brush/consts.rs
Timon c7a64fff0c Add the 'Basic Brush' node and replace the legacy Brush tool implementation with it (#4469)
* Draw raster images with pad extension instead of repeat

* Add the GPU basic brush renderer

* Rework the brush tool around the GPU basic brush

* Remove the CPU brush implementation
2026-08-27 15:19:02 +00:00

9 lines
300 B
Rust

pub(super) const SIGMA_CUTOFF: f32 = 3.;
pub(super) const SIGMA_PER_DIAMETER: f64 = 1. / 4.;
pub(super) const RIDGE_GAIN: f32 = 5.075688;
pub(super) const LUT_SIZE: u32 = 256;
pub(super) const LUT_V_MAX: f64 = 7.5;
pub(super) const LUT_T_MAX: f64 = 7.5;
pub(super) const LUT_CACHE_SIZE: usize = 64;