Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以更改已加载纹理的 CCSprite 的色调和/或饱和度 a.png ?看起来像这样,例如:
[CCSprite1 spriteWithImage@"img1.png"]; [CCSprite1 setHue:150];//<<<
不,您只能更改不透明度和颜色(色调)。
除非您编写自定义片段着色器。