Sub Meshes in Unity

Objective: create materials to modify the look of the column

In Unity we can have 3D models that can have more than one material in the same geometry. Those materials are called sub meshes. As you can see in the scene below there is a column with a white and a black section. Those are the sub meshes in that 3D model.

First I went to the project window and created a material called black_mat. I this material I added a texture selecting the little circle in the Albedo channel and modified the values of metallic and smoothness.

Then I create another material for the white section. Same thing, added a texture and modified the metallic and smoothness properties.

Next I selected the pillar and just dropped each material in their respective places in the inspector.

And that’s it!!! A new beautiful column with different materials.

--

--

--

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Experts specializing in IoT and Big Data Science say the internet of things (IoT) is gaining…

⚙️ The State of WASM

HackTheBox: OpenAdmin write-up

cat /etc/passwd

Rolling out features for Zomato using Agile

Corelan — Tutorial 9 — Exercise Solution

Learning C++: Nonmutating Algorithms of the STL Part 3

Join me in creating a new project

Best Practices for WebAssembly using GoLang (1.15+)

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Rusben Guzman

Rusben Guzman

A Software Engineer passionate about game dev and interactive products with Unity. I consider video games to be the artistic expression of programming.

More from Medium

Depth with Unity TileMaps

Reflection Probes in Unity

Improved Triplanar projections

Galaxy Shooter —Basic Enemy AI