.O.
..O Deniz's personal pages
OOO
/home /about

Transparent Vertex Shader

March 27, 2017

A game set in space should have a futuristic look and feel. And one of the most important factors in giving this sci-fi feel is the use of transparency. I would like the grid to have a transparent view, showing the beautiful stars in the horizon beneath them. After rendering the surfaces the material on these surfaces will be responsible for this transparency. More specifically the shader. The OOB shader in unity doesn’t support vertex colors so I had to dive into the mysterious world of shaders. Here is what I came up with:

Here are some different version of the grid with and without transparency

Tags: #gamedev