Using mesh renderer component to modify a 3D object in Unity
Changing the look of a simple geometry
Objective: make the white pillar look like the black by modify the mesh renderer properties
In this project we have different 3D models in a solid white color. We are gonna use colors, textures and more to give them a better look. In this case I’m gonna make the white pillar look like a black marble.
When we select the pillar we can notice that it has a component called mesh renderer, within them we have a material and in Unity these materias use a shader.
In the shader section we can use the Albedo channel to change the color of the object.
For this example I don’t go to use a solid color, instead I use a texture. To apply the texture we have to select the little circle in the Albedo channel and select the texture from our assets.
Finally I use the smoothness and metallic properties to finish the pillar. The smoothness changes how reflective the object and the metallic how glossy it is.
And that’s it!!! We have a cool pillar.