Jump to content

[SOLVED] billboarded trees sometimes flying over terrain


photo

Recommended Posts

Posted

Few percent of billboarded trees is flying over the terrain. Changing LOD settings for terrain makes no difference (I was double checking this to be sure it is not caused by little bit different shape of terrain for distant LODs).

 

http://img89.imagesh...40/21966645.jpg

Posted

Please use terrain relax tool to compensate high terrain flatness values.

Posted

If you mean parametr flatness, I ve tried in small steps up to value 300 (total destruction of terrein details). In smaller values it has no effect, in bigger values it is even worse (I ve regenerated grass after each step):

 

http://img402.images.../9764/flatd.jpg

 

I have no problems with standard grass.

Posted

Yes, TerrainRelax tool simply bakes Flatness for the terrain.

 

So if terrain's Flatness is set to 0, and billboards are still flying, Offset parameter of the grass can be the culprit. Maybe its spread value is too high, for example. Please check what do you have for it. (If not, please attach a screenshot of grass and terrain node options).

Posted

Yes, TerrainRelax tool simply bakes Flatness for the terrain.

 

So if terrain's Flatness is set to 0, and billboards are still flying, Offset parameter of the grass can be the culprit. Maybe its spread value is too high, for example. Please check what do you have for it. (If not, please attach a screenshot of grass and terrain node options).

 

Spread is zero i this case. I ve put some negative offset there. It is not perfect, but for now it is sufficient.

Posted

Yes, that's exacrtly what negaive Offset is for!

 

Without a negative Offset there could be a really small gap, as a billboard itself and the texture on it differ in size a bit. But it's really small, hardly noticeable and nowhere near your result:

post-13-0-51217200-1357904080_thumb.jpg

post-13-0-93766200-1357904216_thumb.jpg

 

All in all, solved.

×
×
  • Create New...