Nerd For Tech
Published in

Nerd For Tech

Creating Transparent Window Effect in Unity

Now that we know how to alter albedo and sub mesh’s, let’s take a look at how we would create glass within our editor:

Our goal here is to have our window on the left side look just like that on the right side. First, we can just add the materials for our frame, marble base and metal bars in the window to have that part look the same:

Once we have our different mesh renders set up, we can look to create our new material for the glass of the window:

Once we have created the material, we will want to change the rendering mode to transparent so that it gives the object the trait to look through it. From here, we will just alter the alpha of our colour selection scale to 0:

We can see that as we slowly slide the bar down, the more transparent our window looks. Now that we have altered it around, let’s take a look at the 2 different windows and see how well the match:

Now that we have matching windows, we can now look at other methods of adjusting the environment within our unity editor.

--

--

--

NFT is an Educational Media House. Our mission is to bring the invaluable knowledge and experiences of experts from all over the world to the novice. To know more about us, visit https://www.nerdfortech.org/.

Recommended from Medium

3 fresher projects for developers

My Journey as a Codechef Chapter Leader

About Megastitut

Siri Shortcuts : Apple announces new features to boost your productivity

5–2 [Modeling] How to model a business process (Business Process Diagram)

8. Kids With the Greatest Number of Candies (#1431) [EASY]

Week 2 / Waging Candle

Top 10 Kubernetes tips and tricks

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
Jordan Evans

Jordan Evans

More from Medium

Getting Started with Terrain Tools in Unity Part 2: Textures and Trees

Building A Stealth Game — Creating Waypoints For Your AI Guards

Adding proximity detection so enemies can ram player

Setup Vuforia with Unity