mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-23 00:38:12 +08:00
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
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user