New issue
 Projects > js > Issues > Feature #4295

Grayscale (and other effects) on canvas

Feature #4295 [New]
ZippoLag 2014-03-06 14:04

Ideally, it would be nice if some sort of "shader system" could be implemented so that one could change the appearance of any node, sprite, layer or even the whole game view on canvas mode.

Some examples of effects (and possibly implementations?) can be found here:

Of course, this could be impossible to do for performance reasons, but it would be nice to know for sure.

Or maybe this could be implemented extending the existing Effects (documented in samples\tests\EffectTest\EffectsTest.js)?

Also, the existance of cc.ImgeTGA (which can supposedly be turned to grayscale with cc.tgaRGBtogreyscale) is intriguing, but I've tried to create this kind of object with no luck.

More information in this discussion thread:

Atom PDF

Start date:2014-03-06
Due date:
% Done:


Target version:-