opendesigndev / octopus-specs

Octopus format specification (OpenAPI)
https://main.d215pdpdn4c7ow.amplifyapp.com/
2 stars 3 forks source link

Blend modes clarification #14

Open scoiatael opened 1 year ago

scoiatael commented 1 year ago

In GitLab by @janroztocil on Apr 4, 2019, 11:01

Unify blending modes

Motivation

Currently in rendering there is a list of aliases for various blend modes:

"BLEND_DIVIDE"      ->      BlendMode::DIVIDE
"BLEND_SUBTRACTION" ->      BlendMode::SUBTRACT
"LIGHTEN_BURN"      ->      BlendMode::LINEAR_BURN
"LIGHTEN_DODGE"     ->      BlendMode::LINEAR_DODGE
"LIGHTEN_LIGHT"     ->      BlendMode::LINEAR_LIGHT

Those should not be necessary, octopus should contain the correct ones.

Proposal

Define a list of blending modes that are supported in octopus. If there is a need for alias due to differences in source data, the particular octopus-* converter should handle that.

Tasks

Complexity

Simple.