Day 65: Creating Transparent Window Effect in Unity

Objective: Create a material that can be seen through.

We start off by creating a new material by going into your project window, right click and go to create and material.

Name it how ever you would like, I’ve named my New_Glass_Mat. Next thing that needs to be done is to assign it to the object that needs the material.

Now to set the rendering mode to Transparent. Go back to the material in the project window and select it. In the Inspector should show the properties.

At the top of the inspector, change Rendering Mode to transparent. It will make it look white but some what see through.

The next thing to do is change the alpha of the Albedo to allow it to be more transparent. I set mine to zero to make it look like the windows are very clean.

To make the windows have some reflections, set the smoothness closer to one. The closer it is to one will have more of a reflection.

And that’s all that is needed to make glass see through and have some reflection.

Thank you for reading and have a wonderful day!

--

--

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
Tyler Smallwood

Tyler Smallwood

46 Followers

I am passonate on learning to program and use Unity to become a skillful Unity Developer