[Solved] Mesh decals clipping near camera

Thank you for the replies

Good thing I love dirty hacks

I don’t think it is a clipping plane issue unless there is something that I have misunderstood about mesh decals. The clipping occurred along the bottom of the screen, no matter the viewing distance. This could come in handy though, thanks.

​​I am using worldspace-mapped Uvs, although re-projecting Uv’s sounds like it could be useful for certain things like road markings, I haven’t tried that yet, I was just planning to overlay more meshes/decals for those.

Here is the material currently.

I use terrain height data to map the spline somewhat correctly, but it is not always perfect, so I use vertex painting to weight the alignment to the terrain, and since the mesh is offset from the ground by default, this allows me to trade off close alignment for a better projection sometimes, although it’s not perfect.