Hey, im working with this Custom Shader, it works great for my needs but i still need it to receive shadows.
I’m not programmer, this shader is going to be used for a Retro-Remake constest from the next thread: http://forum.unity3d.com/threads/238307-quot-Retro-Remake-quot-Mapping-Contest-Deadline-April-31st
I’ll appreciate any help with this, Thanks in advance!
Shader “Color with Detail” {
Properties {
_Color (“Main Color”, Color) = (0.7,0.7,0.7,1)
_MainTex (“Base (RGB)”, 2D) = “white” {}
_DetailTex (“Detail (RGB)”, 2D) = “white” {}
_BumpMap ("Normalmap ", 2D) = “bump” {}
}
SubShader
{
Pass {
Lighting On
SetTexture [_MainTex] {
constantColor [_Color]
Combine texture * constant, texture
}
SetTexture [_DetailTex] {
Combine texture * previous DOUBLE, previous
}
}
}
}