I can see clearly now — How to create a transparent glass effect in Unity

In this quick article I will go over how a glass effect is created in Unity.

First we want to create a new material. I will call mine Glass_mat.

Now simulating glass can be quite expensive performance wise so it is advised to use the effect sparingly.

We can create the transparent glass effect by changing our rending mode to transparent and reducing the alpha channel on our material. I have added the material in to the object already so we can have a real time visualization of the changes we are making.

As you can see with some minor changes to a material we can get a really nice glass simulation.

That’s all for now.

--

--

--

Unity developer with a love of learning all things programming.

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

Recommended from Medium

How to install Nginx on ubuntu 20.04?

ScandiPWA Toolkit — Jegors Batovs ScandiPWA Spring Meetup

Top 10 Useful Tips To Remember when Working with R

Basics of Golang [For Beginners]

The case against Non Null Assertion Operator !

Azure Data Factory — Project on Covid19 (Note-1)

Gist about Microservices(Container)

Infrastructure and Ops Book Bundle by O’Reilly

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
Luke Duckett

Luke Duckett

Unity developer with a love of learning all things programming.

More from Medium

My journey becoming a Unity game developer: Make a game look beautiful-Scifi Control Room Floors

Combining Cinemachine and Timeline to Open a Treasure Chest in Unity

Cinemachine: 3rd Person Follow, Orbital, and Transposer

Scene Loading — Restarting our game