Please or Register to create posts and topics.

Models Placement Filtering Based on Terrain Textures or Underneath Surfaces

1 - Texture based filtering

Removes models where specific texture is painted underneath models:

For each GPU layer: . Find that layer in the scene hierarchy . Press EDIT PLACEMENT button from the inspector . Expand TERRAIN LAYERS (TEXTURES) FILTERING section . Define EXCLUSION PERCENTAGE for each texture on terrain Note: 0 means no exclusion happens and placement will remain as it is where 100 means fully exclusion of the placement for that texture

GPU_TextureExclusion.jpg

For each Grass layer: Find that layer in the scene hierarchy . Press EDIT PLACEMENT button from the inspector . Expand TERRAIN LAYERS (TEXTURES) FILTERING section . Define EXCLUSION PERCENTAGE for each texture on terrain Note: 0 means no exclusion happens and placement will remain as it is where 100 means fully exclusion of the placement for that texture

Grass_TextureExclusion.jpg

To edit placement for all GPU & Grass layers in the world:

Find TerraWorld gameobject in the scene hierarchy. Press EDIT WORLD button from the inspector. Select EDIT GPU LAYERS & EDIT GRASS LAYERS checkboxes. Expand TERRAIN LAYERS (TEXTURES) FILTERING section. Define EXCLUSION PERCENTAGE for each texture on terrain Note: 0 means no exclusion happens and placement will remain as it is where 100 means fully exclusion of the placement for that texture This will update placement for all placed layers in scene based on textures on terrains from one place and in a batch mode for faster world editing

TextureExclusion_BatchEdit.jpg

Tutorial video showing it in action:

2 - Layer based filtering

Removes models where objects with specific layer(s) are underneath:

If it's a GPU layer, then select that layer in scene hierarchy and from the inspector, set LAYER MASK list to perform filtering:

GPU_LayerBasedFiltering.jpg

If it's a Grass layer, then select that layer in scene hierarchy and from the inspector, firstly enable checkbox "CHECK LAYERS" which is disabled by default:

Grass_LayerBasedFilteringOn.jpg

And then set LAYER MASK list to perform filtering:

Grass_LayerBasedFiltering.jpg

Tutorial video showing it in action: