How to create a glass material in Unity

Without glass, you don’t have windows. And you always have to windows, right?

There you have a beautiful New York city view at night from looking through a window. It’s just a simple material as any.

Create a glass material

  • Create the material by right-clicking in the Project view
    Create -> Material
  • Name it Glass_mat (_mat meaning that it’s material)
  • Set Rendering Mode to Transparent
  • Albedo to white and Alpha value to 0
  • Metallic to 0
  • Smoothness to 0.9

You can change smoothness depending on how much you want the glass to reflect.

Awesome! Now we have a glass material to use where we want! :)

--

--

--

From the beautiful snowy country with a touch of "good" humor? Inspired Unity Developer to learn more.

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

Recommended from Medium

GameDevHQ — Day 33 — NovaStar Dev Diary: Audio and Singletons

Should Your Business Go for Hybrid Data Storage?

How to configure Permissions in Laravel

A journey from Dockerfile to application deployment on Kubernetes for beginners

Week 4 — Databases

Django vs Ruby on Rails — What Should be your Ultimate Choice?

My Journey into Coding

INTEGRATION OF KUBERNETS AND JENKIS

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
Janika Suhonen

Janika Suhonen

From the beautiful snowy country with a touch of "good" humor? Inspired Unity Developer to learn more.

More from Medium

Building A Stealth Game — Helping Your Guards “See”

Animating Sprites in Unity

Script communication in unity using GetComponent:

Unity Tutorial — Toon Shade in HLSL