Setting up Windows in Unity
Objective: Create a glass material to behave like a window.
In Unity environmental objects require materials to give then different appearances in game. Above we see on the left the window with a standard shader. To get a window that passes light through it, as shown on the right, create a material named Glass_mat. The default sets the Rendering mode to opaque. Change the rendering mode to transparent. The mat is still opaque until the albedo transparency, A, is decreased, as shown below.
Add the new Glass_mat to Materials element3, see below, and suddenly the window passes light through the pane. Element0 is for the white wall. Element1 is for the Black marble trim at the bottom, and element2 is the metal rails framing the window pane.