Tag Archives: grayscale

[转]在cocos2dx 3中使用Shader实现Sprite的灰度显示

 

gray.vsh

 

gray.fsh

转自:http://discuss.cocos2d-x.org/t/how-to-use-opengl-shader-in-cocos2d-x3-0/12430