Make mix more even
This commit is contained in:
parent
7ffedd4af3
commit
cb7a925211
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ namespace Dynamite {
|
|||
|
||||
if(abs(input[pos]) < transmogrifyThreshold) transmogrified = 0;
|
||||
|
||||
output[pos] = (mix * ((algoMix * transmogrified) + ((1.0 - algoMix) * dist))) + ((1.0 - mix) * input[pos] * gainCoeff);
|
||||
output[pos] = (mix * ((algoMix * transmogrified) + ((1.0 - algoMix) * dist))) + ((1.0 - mix) * input[pos] * coeff * threshCoeff * gainCoeff);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue