3D Level Design: Altering Textures

Intro

In this article, we are going to cover how to alter textures to better match your scene. You will need an image editing software like Photoshop or GIMP.

Altering Textures

This column has the right shape, but we want to change the color of the texture to match the rest of the environment.

In the project window, find the texture of the object and right-click to be able to find the file using the Finder.

Import the texture file into the Photo Editing software. I will be using Photoshop and I am a complete beginner with the software, so this is a basic way to change the color.

In the adjustment setting, we are going to add a Hue/Saturation layer.

We can adjust the Hue, Saturation and/or Lightness to get the color we are after for our texture.

We can now “Save As” to begin the Export of the texture.

For Photoshop, we want to “Save As Copy” option which allows this to be saved as a PNG. Make sure the format is PNG, and we are saving this into the tex file for this game object in our Unity project.

Since we saved the texture file in out Project file, we should see it appear when we jump back into Unity.

Now, we can simply add the new texture to the Bas Map of the game object and it will update all of the objects to that new texture.

If there is other objects in the game scene you want to have the same color, but have a different texture map.

For example, this wall texture has a different texture map so I cannot simply drag the column map onto it. What we will need to do is copy the layer we create in the photo editing software.

We import the floor texture the same way we did before.

Floor Texture Map

We right-click on the Layer and select Duplicate Layer. Again this is using Photoshop,

Here you want to select where you want the duplicated lay to go and inn this it will be to our Ground texture map we just imported.

Automatically, the layer is added to the texture map. This saves time, especially if the layers are complex by recreating those layers every single time and everything is uniformed.

We save and export the same way making sure to save as a PNG and placing into the Unity project files.

Drag the new texture map into the Base Map.

Now, both object have the same color levels even though they have different texture maps.

--

--

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