Introduction to Shaders With Cocos Creator - Add some texture (4/10)

This series is built to help Cocos Creator developers and game developers to understand how to use shaders in their game. We won’t be doing a deep dive into building your own, but we will help you to understand and easily edit them to build the desired looks you want for your game. In this episode, we discuss the use of textures. If you want the drawn content to look more authentic, you need more vertices or more colors. For example, every frame needs a picture. This can be the Mona Lisa or a sunflower. At this time, we can add a texture to add more details to the object. The application of texture involves texture mapping. Texture mapping is used to map a picture to the surface of a geometric figure. For example, texture mapping to a rectangular object. This rectangle looks like a picture. This picture can also be called a texture image or texture. If you would like to build games, come try Cocos Creator, our open-source game engine for both 2D and 3D games:
Back to Top