add abr color dynamics
This commit is contained in:
@@ -225,6 +225,15 @@ std::vector<std::shared_ptr<Brush>> ABR::compute_brushes(const std::string& path
|
||||
|
||||
}
|
||||
|
||||
// Color Dynamics
|
||||
if (p->value<Boolean>("useColorDynamics"))
|
||||
{
|
||||
b->m_jitter_sat = p->value<UnitFloat>("Strt") * 0.01f;
|
||||
b->m_jitter_hue = p->value<UnitFloat>("H ") * 0.01f;
|
||||
b->m_jitter_val = p->value<UnitFloat>("Brgh") * 0.01f;
|
||||
b->m_jitter_hsv_eachsample = p->value<Boolean>("colorDynamicsPerTip");
|
||||
}
|
||||
|
||||
std::vector<std::string> modes = {
|
||||
"normal", // normal (not in Photoshop)
|
||||
"Mltp", // multiply
|
||||
|
||||
Reference in New Issue
Block a user