Ok my question its simple, its possible to set a imported polygon (In this case is the grass in my model), as landscape to apply the grass material?.. Only this, thanks in advance…
Nope. But you can use feature called LandscapeGrassType. With this feature you can cheaply spawn foliage instances above landscape and even use lightmaps of landscape.
As I can see in your post, this is what I did, but it only let me cheaply spawn foliage above a landscape, but I need to cheaply aplly this LandscapeGrassType in selected polygons, I think I didn´t understand you… and thanks
You can control precisely where to spawn those foliages above the landscape. I use vertex normal and grass layer weight as weight for spawning density.
Yes as you say, in landscape, but I want to do it in a imported .FBX polygon from cinema 4D, as you said in your first answer, this is imposible yeh?.. and I have to use the foliage tool to spawn grass in my polygon, is this correct?
Sorry I misundestood you. It’s not possible to use landscape grass system for anything else than landscape. Landscape grass is fast because it’s can assume that landscape is always heightmap so it’s basically 2d problem. General mesh can be any shape or size so it wont work.
I solved this problem with procedural spawning. I use raycasting against world and I generate instanced foliage to hit locations. I also copy lightmap uv’s from underlying static mesh. It’s not that complicate system but it’s took around week to optimize for mobile usage.
Ok, thanks so much for your nice replys, I will use foliage and try to get nice results… thanks so much