I thought I could modify our decal shadergraph to cut its emission when the normal isn’t straight up, but as far as I’m aware, the decal shader can’t access the normals of the surface it’s projecting on. The Normal Vector node just gets the normals of the Decal Projector itself (i.e. its Up vector).
Does anyone know a solution for this? Am I missing something?
Hm, the decal projector here works exactly as it is supposed to. I’d suggest you draw this kind of marker in a different way. You could just use a Quad with the same texture on it, right?
The Decal Projector has three setup modes in the Inspector, and one of them lets you crop the decal rectangle. In your case, just crop that edge of the decal until it is just hitting the floor.