![]() In that case the color information is within a texture and if you want to offer several colors of a same object, you might be tempted to make several textures altogether. However, most of the time, we try to keep the number of materials on screen low for performance reason. When your object is made of multiple materials, it is easy to change the colour of its parts. ![]() I used this methods to control the colors of the plane and of the bombs' fin in my recent game The Prabbits: Happy Dogfights! Here you see myself playing around with the newly colored bomb :) Color Mask with Unity Shader Graph In this tutorial you will learn how to make a shader with the Shader Graph so you can modify the color of part of a texture like this:
0 Comments
Leave a Reply. |