I have imported a terrain via a heightmap, the only problem is when I add grass details to the terrain, they flicker in the game view where they are on slopes. In the scene window, they don’t exhibit the same behavior fwiw.
Can anyone offer a solution for this? I’ve played around with all the terrain settings and the render settings which seemed likely to no benefit.
EDIT: I thought I should add, this is largely because I am looking down on the terrain quite often, and it seems the bill boarding is having z issues with the terrain.
Unity grass is a little different from typical MMO terrain grass. It Y-spins to face, and it also leans back a tiny bit as you look down on it. This prevents you from seeing an ugly edge when you look almost straight down.
The problem is, if you go “over the top,” it has to snap slightly in the other direction. So, yes, a moving/spinning down-looking camera makes Unity grass snap. Not sure why slopes matter (I think the grass always grows straight up, slope or not.) I’d guess the camera is just more active near a slope, so you see it more.
Only fix I can think of is to prevent the camera from looking too much down, and forcing a 180 spin instead of an over-the-top.
Alternately, could plant your own 2-sided grass-textured planes. But that would be a huge pain – you’d be writing a new grass-rendering system.