Here on StackOverflow, similar questions for v2 were posted earlier. However, they all point to tutorials using an older version of cocos2d. And in those tutorials, the shaderProgram CCNode property is used to add a shader, however this property does not exist in Cocos2d 3.
How am I supposed to go now? My goal is to blur the whole screen (live).
From what I can see in the github cocos2d file, the property declaration has shaderProgrambeen moved to the header file CCNode_Private.h.
shaderProgram
CCNode_Private.h
#import "CCNode_Private.h"where you need it should work.
#import "CCNode_Private.h"
Source: https://habr.com/ru/post/1528764/More articles:Remove all comments from XDocument - linq-to-xmlEloquent Raw, where a query using a similar condition - eloquentAsp.Net MVC Bundling Login Page - authenticationswitch directive not binding ngModel - angularjsJava: calling a constructor through a constructor, what's the point? - javaKnowledge of deleted documents in Couchbase lite android - androidQt: форматирование целого числа в QString - c++Testing special characters with the PHP module - symfonyEffectively monitor new SQS messages - c #Единичное тестирование для поддержки Unicode - phpAll Articles