Creating Transparent Window Effect In Unity

Today, I have started the Cinematography course, which I really had almost no experience at all. I must say, I found this topic more fun to play with than I have expected.

Here’s a snapshot of 2 objects with materials unapplied & applied on:

Creating Window Effects

So, how to create a window effect with a material?

Certainly, the first thing that comes to mind is to set the Alpha of a material to 0 and give a transparency to the material. Well, you will notice that it would not work even if you try it. The solution was simpler than I have expected : Changing the rendering mode of the material to “Transparent”.

With the Glass Material’s Rendering Mode set to Transparent, we can observe that changes we make to the Alpha channel will now effect the transparency of the object — just set it to 0 for a more realistic view.

I’m actually happy to learn how simple it is to create a window effect in Unity. I am looking forward to use it in my games!

--

--

Unity Developer

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