Blended Decal with lighting?

total n00b here with shaders – the Blended Decal shader would be really useful to me if the “Decal” used the scene’s light.

I realize there is the Decal 2UVs shader – that’s good too – but there are times when having the shader act on a separate mesh would be better.

I tried changing

SubShader
	{
		Lighting Off
...

to

SubShader
	{
		Lighting On
...

but that didn’t do it… after that, I’m out of ideas :smiley:

I’d say do this: take the Transparent/VertexLit shader from the built-in shaders source (Alpha-VertexLit.shader) and add “Offset -1, -1” inside the Pass block.

I’m trying to create some decal shaders myself. The Offset -1, -1 thing works great on my tweaked AlphaSelfIllum and AlphaDiffuse. But, it seems to have no effect at all on a tweaked AlphaBumpedSpec shader. Any ideas why?