Hodo33 Posted December 4, 2018 Share Posted December 4, 2018 Can someone tell me how to prevent groundcover weeds from rendering inside buildings, on roads etcThanks for any help Quote Link to comment Share on other sites More sharing options...
fLUnKnhaXYU Posted December 4, 2018 Share Posted December 4, 2018 after you create your ground cover look in the inspector where it says " types ", properties for 0 - 7 , there is a field named layers . If its blank the ground cover will show everywhere , but if you you put the name of a terrain material , grass1 , snow etc.. it will only show the ground cover on that material . So what I did , was paint the area with a different material , actually , i guess , it can be the same texture with just a different name , so , the ground cover will not render there . Should work , if theres not a better way . Quote Link to comment Share on other sites More sharing options...
Duion Posted December 4, 2018 Share Posted December 4, 2018 I mostly just use another terrain layer without ground cover that I paint below things that are not supposed to have ground cover, pretty simple, you can see it being used in my game. Quote Link to comment Share on other sites More sharing options...
Hodo33 Posted December 5, 2018 Author Share Posted December 5, 2018 Ok I see it now, thanks.... Quote Link to comment Share on other sites More sharing options...
JeffR Posted December 5, 2018 Share Posted December 5, 2018 Duion's right.To clarify the design-intent of it a bit more, the type slots in ground cover let you associate to a given terrain material. If you don't make any associations, it just figures "any terrain material is probably fine" which is why it'll spawn over the whole thing.Once you have an association between a groundCover type slot and a terrain material, the spawning rules for that slot will only apply to that terrain material. To adjust what shows up and where at that point, you would just paint down different materials to have it automatically spawn the associated groundCover slot(which can include nothing if you paint a material with no groundCover slot associated). Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.