Hi everyone, I'm a total newbie with pyglet and openGL, but I'd like to know if it's possible to add an effect (shader, opacity, or anything) to a whole batch. Could it be something as easy as modifying a bit the batch visit function ?
What I'd love would be to make a fog, that would darken the lowest batches but leave the top batch unchanged. I could change the color attribute of every sprite in the batch, but that seems tedious and shaders would be much funnier... -- You received this message because you are subscribed to the Google Groups "cocos2d discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/cocos-discuss. For more options, visit https://groups.google.com/groups/opt_out.
