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: http://www.html5rocks.com/en/tutorials/canvas/imagefilters/

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: http://www.cocos2d-x.org/forums/19/topics/46548

Atom PDF

Status:New
Start date:2014-03-06
Priority:Low
Due date:
Assignee:-
% Done:

0%

Category:-
Target version:-