In modern graphics cards, to draw objects correctly, you need to write code fragments based on Vertex and Fragment, which are called Shaders. Shader supports a shader language called GLSL (OpenGL Shading Language) on hardware devices based on OpenGL series drivers.
In order to adapt to the industrial production flow and improve the ease of use of shader fragments, Creator encapsulates a GLSL-based shader - Cocos Effect.
This chapter mainly introduces how Cocos Effect works and how to use it.
This chapter mainly includes the following contents: