Changing color on specific tile in texture at runtime
I have been messing around in Unity and making a voxel based game similar to Minecraft just so I can get a better understanding on how to do this in Unity. Currently, I have gotten the basics in and I can display whatever block that I want to. The texture I am using is 16x16 titles that are each 16x16 pixels. One of these tiles is currently a grayscale representation of grass but i need to change the color depending on some settings in-game. I am not familiar with using multiple materials on the same Mesh Renderer or how to do a custom Shader to change this either. I am looking for some information on how to be pointed in the right direction on changing the color of this tile from within my code.
Your answer
Follow this Question
Related Questions
Textures looking bad on iOS build 0 Answers
Problem with fresnel materials 0 Answers
Unity 2018.1.2f1 doesn't apply textures to material if I use HDRenderPipeline. 0 Answers
Using Texture as HDR color? 2 Answers
Standard Shader Emissive Warning? 2 Answers