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!

--

--

--

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

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

Recommended from Medium

JPA (Java Persistence API)

Creating a GeoSpatial web app using Docker, Django, and PostGIS

create an Ansible playbook that will retrieve newContainer IP and update the inventory.

Using Rasa NLU with Docker

Coronavirus live news: Fauci warns of ‘surge upon surge’ in US cases after

Wrapping up for First Evaluations

hx welcomes Insurdata as a Renew Connect partner

How to enable Email as Username in WSO2 Identity Server

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

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

More from Medium

Unity Feature 101: Basic Saving Using PlayerPrefs

Benefits of Prototyping without Assets

Loading Scenes In Unity

Unity Interface Layout