I’m trying to make all game objects leave motion trails as efficiently as possible, where old frames are cleared with a slight opacity to create a motion blur effect in cocos2dx-3.3. I tried this LearnCocos2D effect, but the framerate was terrible (below 10). I also tried doing:
glClearColor(0, 0, 0, 0.1);
…but that didn’t work. I think that some cocos2dx draw function is overriding my opacity. Is there a core file I can modify to achieve this effect? Or is there a better way of doing this?
Thanks in advanced,
Nick