Help! Foilage Layers!

  • Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Beskar Mando

Grizzled Veteran
Dec 13, 2014
1,575
63
48
Baltimore, Maryland
steamcommunity.com
So I don't know what's happening at all, but when I try to paint foliage on I get literal carpets of grass, I don't know what it is, the Density refuses to go below one. Any help?
http://imgur.com/GD1nwvJ
And yes, this is from November, I took a break from the SDK & have been going on and off, working on coding & modeling.
 
Last edited:

Dziga Vertov

FNG / Fresh Meat
Mar 22, 2013
165
1
0
Yes, I have been running into this issue as well, and the best solution I've found is to decrease the the tesselation level of your terrain. This unfortunately reduces the smoothness of whatever you already have, and if you reduce it too much makes making trenches impossible since the smallest holes you can make for them will be too big.
 

Catalavos

FNG / Fresh Meat
Oct 5, 2010
1,327
53
0
Baltimore, MD
You are correct that you can't set the number below 1. This is because the engine can't draw less than 1 full mesh per grid square.


There are a couple of ways you could deal with this. First, try a different static mesh for the grass that isn't as dense. The one in the Props_Vegetation package called Prop_Grass_Sparse has only 120 triangles and won't fill in as thick. You can also adjust the size of the grass in the settings for the terrain layer that has the grass in it. Second, you could just use individual static meshes. I know that means adding and adjusting a million of them but you will get 2 benefits from this: you'll have exactly the density you want and you'll likely end up with better performance because you can set the draw distance for each clump of grass.
 

Twrecks

Active member
Dec 28, 2011
1,241
10
38
Ventura, California
Make a new terrain material identical to the original, only this time include foliage. Now paint with the second new terrain layer and only get foliage where you want it.


Senario 2, make a second terrain layer identical to the 1st, only this time omit the foliage, painting with this layer will remove foliage.
 

nymets1104

Active member
Dec 18, 2012
2,432
24
38
USA
Make a new terrain material identical to the original, only this time include foliage. Now paint with the second new terrain layer and only get foliage where you want it.
....

This is what I did for Saint Amand B2. Added grass foliage here and there with a second identical terrain layer. This takes awhile to implement, but gives you full control of where the foliage meshes are and even better... are not. When applied blanketly to entire terrain layer they appear everywhere, poking through floors in buildings and other meshes.