java - Composite Mode "Add" (and more) -
for implementing colored lightning in exercise-engine need composite mode add.
there no mention of mode (and many other commonly used subtract, average, burn, etc...) here: https://docs.oracle.com/javase/tutorial/2d/advanced/compositing.html
i don't find experimenting.
since pretty new java suppose doing wrong.
could please point me in right direction?
i prefer not doing in software (mainly because don't want loose hardware-acceleration, secondly because don't know how).
you right, alphacomposite cannot blending modes typically found in image editors. there 2 java2d libraries provide extended composite implementations:
or if using javafx, has them out of box
don't worry performance, pretty fast.
Comments
Post a Comment