Imposter UVs for foliage
I have a lot of foliage on my map, and as a lowest level of detail mesh I'd like to use a camera facing 2d plane with a flipbook texture that changes depending on the direction from camera to the sprite. The ImposterUVs material function doesn't work with foliage right now since the material function requires object's position as an input that doesn't work with foliage, I suppose this is because the whole system works by instancing the meshes. Any chance of getting this to work with foliage? I'm also open to workarounds.
asked Feb 28 '15 at 10:00 AM in Rendering
Hi, I have been trying to solve this for a while and after a few answers from the udn I finally have a material that works, it looks like this:
I use a mesh with crossed planes to get rid of the flickering, so it's not z-fighting with the ground. It makes the imposter a tiny bit offset so haven't found the perfect solution for that yet.
Follow this question
Once you sign in you will be able to subscribe for any updates here