I checked the cpptests and blur effect is there. But I am not able to understand exactly how it is used to apply effect on the sprite. I’ve never used shaders before and I want to apply blur effect to layer.
Looks like blur shader isn’t already there in the cocos2d-x but in cpptests, it’s creating the blur shader and then using it somehow.
Is there anything like…
EffectBlur *eb = EffectBlur::create(blurRadius, .....); node->applyEffect(eb);
or every shader is created from scratch?