-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hi.
I am developing a similar tool with different features, available here with my test files.
It has no layer tree editing, only menu of presets loaded from the artwork file itself.
It is still not finished for real use, especially rendering quality and speed, but I intend to continue development.
I stumbled upon PSDTool again recently, tried to throw in some of my files and found rendering problems.
For example, unit_base.psd is simpler and looks as intended. Note that the shading folder with linear-light mode was saved with 100% own opacity setting.
But unit.psd has more complex structure, and resulting shadows look too dark in PSDTool. Originally, shading layers with linear-burn mode were saved with around 23% opacity setting. I think, pass-through and clipping are unrelated and work as intended.
My guess:
When SAI2 saves PSD files, for certain blending modes (including linear-burn, linear-dodge, linear-light, etc.) it stores user-authored layer opacity into "Fill" opacity property, while storing normal "Opacity" property as 100%.
SAI2 does not support editing Fill and normal opacity independently.
My suggestion:
Read both opacity properties and multiply them as normalized to [0-1] before using.
I do this myself for now. SAI2 probably does the same, but I don't know exactly.