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

Laravel 8: New Features!

Block Chain — Health Care Solutions

{UPDATE} Kids Carnival Mania - Games for Boys & Girls Hack Free Resources Generator

Policy as Code (PoC): Deploying and Managing Azure Policy in Bicep

15 Tips to get the most out of DevSummit 2022

THE EXCLUSIVE PET WITH BNB LOGO-WHAT IS IT?

Download Sonicwall Global Vpn Client Gvc For Mac

Want to Learn Something New? Build Silly, Useless Stuff

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

Enabling Unity Ads

Script communication in unity using GetComponent:

My journey becoming a Unity game developer: 2.5D Infinite Runner-Regular jump to double jumping

Wall Jumping