Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create custom blend mode in SpriteKit

I'd like to use a custom blend mode (linear burn) to blend the SKSpriteNodes of my SKScene however the only options available are Add, Subtract, Multiply, MultiplyX2, Screen, and Replace.

Is there any way to set a custom blend mode? Can I blend all my sprites using a shader? If so, how?

like image 753
fpg1503 Avatar asked Jan 27 '16 19:01

fpg1503


1 Answers

I just talked to a SpriteKit engineer on the 2016's WWDC SpriteKit lab and it is not currently possible to use custom blend modes in SpriteKit.

like image 96
fpg1503 Avatar answered Oct 13 '22 21:10

fpg1503