I am trying to make a shader that allows me to have my lightmapped environments, but also have them with back face culling off. I tried adding “Cull Off” to the standard Lightmapped-Diffuse shader but it had no effect. Any clues?
Shader "Lightmapped/Diffuse-Backface" {
Properties {
_Color ("Main Color", Color) = (1,1,1,1)
_MainTex ("Base (RGB)", 2D) = "white" {}
_LightMap ("Lightmap (RGB)", 2D) = "lightmap" { LightmapMode }
}
SubShader {
Cull Off
LOD 200
Tags { "RenderType"="Opaque" }
UsePass "Lightmapped/VertexLit/BASE"
UsePass "Diffuse/PPL"
}
FallBack "Lightmapped/VertexLit", 1
}