Skip to content

Instantly share code, notes, and snippets.

@beedulgi
beedulgi / Standard-2Sided-FixNormals.shader
Created October 30, 2020 08:48 — forked from unitycoder/Standard-2Sided-FixNormals.shader
Standard Shader - 2 Sided (cull off) - Also, 2 Sided Standard Surface Shader with Fixed Normals
// 2 sided standard surface shader (using 2 passes), with fixed normals for flipped faces
Shader "Custom/TwoSided (FixedNormals)"
{
Properties
{
_Color ("Color", Color) = (1,1,1,1)
_MainTex ("Albedo (RGB)", 2D) = "white" {}
_Glossiness ("Smoothness", Range(0,1)) = 0.5
_Metallic ("Metallic", Range(0,1)) = 0.0