Anaglyph / Stereoscopic / Color Channels

Is there a way to make anaglyph in Phaser - I need to split an image (with alpha) in Red colors and Cyan colors, so I can mix them and get an 3d stereoscopic effect

I tried many different blend modes but it gives some problems as its differenct all the time with different background colors

Thanks :slight_smile:

I don’t know how directly you can access the canvas through Phaser (but I’m no Phaser expert lol) but maybe take a look at using a shader, especially if you’re going for an overlayed effect. Heres a tutorial I found.

Stepping back a bit, if you’re just experimenting with color channels and making things look cool, you might look at something more straightforward like P5.js

Thanks Tony, I will try to look into shaders, looks like it should be possible…