Hi, I don’t know much about writing shaders but I managed to get this working on a Projector that uses a Render Texture. Problem is it is hard and I would like to be able to control a blur to it to soften it. I don’t yet know how to use CGPROGRAM stuff
and really try to use Shader Forge for shaders but I can’t for this. Please help ![]()

Shader "Custom/RTSProjector"
{
Properties
{
_Color ("Main Color", Color) = (1,1,1,1)
_ShadowTex ("Cookie", 2D) = "" { TexGen ObjectLinear }
_FalloffTex ("FallOff", 2D) = "white" { TexGen ObjectLinear }
}
Subshader {
Tags { "RenderType"="Transparent-1" }
Pass {
ZWrite Off
AlphaTest Greater 0
Offset -1, -1
ColorMask RGB
Blend DstColor Zero
Color [_Color]
SetTexture [_ShadowTex] {
constantColor [_Color]
combine texture alpha * constant
Matrix [_Projector]
}
SetTexture [_FalloffTex] {
constantColor (0,0,0,0)
combine previous lerp (texture) constant
Matrix [_ProjectorClip]
}
}
}
}
