Skip to content

Files

Latest commit

 

History

History
17 lines (13 loc) · 725 Bytes

File metadata and controls

17 lines (13 loc) · 725 Bytes

Always Visible Surface Shader

Always Visible Surface Shader allows you to see the object through obstacles.

About

Asset is based on the Surface Shader syntax with the following parameters to modify:

  • Texture - main texture to render on the object,
  • Tint - color to tint the main texture,
  • Visible alpha - value from 0.0 to 1.0 specifying the transparency of the object when it is not obscured by an obstacle,
  • Hidden alpha - value from 0.0 to 1.0 specifying the transparency of the object when it is obscured by an obstacle.

Unity version:

  • 2021.2.7f1.

Usage

Apply shader to a specific material in the assets and set the parameter values.

Shader