Hi team,
I have one problem with this shader(merge lightmap and doubleside). In unity2.6 it’s work but in unity 3 only work the lightmap.
What can i do?
Shader “Modificados/LMDoubleSideDiffuse” {
Properties {
_Color (“Main Color”, Color) = (1,1,1,1)
_MainTex (“Base (RGB)”, 2D) = “white” {}
_LightMap (“Lightmap (RGB)”, 2D) = “lightmap” { LightmapMode }
}
SubShader {
LOD 200
Tags { “RenderType”=“Opaque” }
UsePass “Modificados/VertexLit/BASE”
UsePass “Diffuse/PPL”
}
FallBack “Lightmapped/VertexLit”, 1
}