How To Create Transparent Glass Materials In Unity

To start, let’s create a material. You can do this by right-clicking within the project menu and selecting Create>Material. I’m gonna name the material for this example “Glass_mat”.

Once you have a material created, you can customize a number of things within it.

To create transparent objects such as glass, change the “Rendering Mode” option to “Transparent”.

Clicking on the “Albedo” option’s color box allows you to change the RGB color value, as well as the material’s “Alpha” which affects its transparency.

The higher the Alpha, the less transparent the material is. A zero alpha would leave something completely transparent.

Here is an example of a cube with a standard shader. The rendering mode is set to “Opaque” and a texture of marble stone is applied to the “Albedo”.

Here is an example of a cube with a standard shader once again, but this time the rendering mode is set to “Transparent”, the “Smoothness” to 1, and the “Alpha Channel” within the “Albedo Color Picker” is set to 0.

--

--

--

Hi, my name is Adam Reed and I am a software engineer specializing in Unity and C# development. Feel free to scroll through and check out some of my work!

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

Recommended from Medium

Very delighted to acquire the virtual internship as an Android developer at LetsGrowMore (…

Usage of Agile Methodology at Zomato

I am a Computer Science student who regularly feels lost.

Let’s Hear It for the Mods

Coding: The Good, The Bad and The Ugly

WIKEN(위켄) 빗썸 원화마켓 상장안내

This is a task given by Mr.

Download In !PDF

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
Adam Reed

Adam Reed

Hi, my name is Adam Reed and I am a software engineer specializing in Unity and C# development. Feel free to scroll through and check out some of my work!

More from Medium

Indy Pro ’22: Talent Training

Tesseract — Teleportation in Virtual Reality

texture material with the correct dimensions

CodeHS Game Design in Unity Course — Unity Collaborate Update

How to Set Up a Simple Drop-Loot System in Unity