- Home /
Is projecting programmatically generated shapes using a projector possible?
Hi guys, Looking for a little help - I'm trying to load in a medium size data set of polygons (20k building footprints and similar) and set up a/many projector(s) to project a material in these areas on to my terrain. Got the polygons loaded fine, and triangulated into meshes just in case.
Just need to work out if it's possible to project custom shapes/use masks maybe, or even just some shader magic, to get them mapped on to the terrain. Any help would be hugely appreciated!
Still haven't found a reasonable solution for this. At the moment, I'm using a high res splat map on the terrain and raycasting down to see if above the terrain is my polygon (invisible mesh with collider), then changing texture based on that. Extremely slow hack, but works for now.
Your answer
