# Object Radius doesn't work with foliage painting

**URL:** <https://forums.unrealengine.com/t/object-radius-doesnt-work-with-foliage-painting/323163>\
**Category:** World Creation\
**Tags:** object, unreal-engine, bug-report, question\
**Created:** [June 26, 2015, 6:33pm UTC](https://forums.unrealengine.com/t/object-radius-doesnt-work-with-foliage-painting/323163 "2015-06-26T18:33:02Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![anonymous\_user\_6e7b421a](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6e7b421a](https://forums.unrealengine.com/u/anonymous_user_6e7b421a)\
**Post date:** [July 10, 2015, 6:30pm UTC](https://forums.unrealengine.com/t/object-radius-doesnt-work-with-foliage-painting/323163/6 "2015-07-10T18:30:58Z")

</div>

You might be misunderstanding how object radius is calculated, which is based on the Static Meshes scale set within the Static Mesh Editor, and not the scale set within the Foliage Paint. These are not linked on purpose as they operate differently at their core functionality.

**Object Radius**

> **[Coordinates Material Expressions](https://docs.unrealengine.com/5.1/en-US/coordinates-material-expressions-in-unreal-engine/)**
>
> Expressions that perform actions on texture coordinates or output values that can be used as, or to modify, texture coordinates.

The typical workflow is to create multiple meshes to be computed as your levels of detail based on screen size. You don’t need to create multiple materials, but only one master material, instance that material , and have that applied to the LOD mesh based on the screen size/scale which you can set up within the Static Mesh editor.

Uncheck the Auto Compute LOD Distance, so you can manually set at what screen size your material instance is applied.

**LOD Settings**

 ![49819-lod_distance_screensize.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/7/8/a78fed5fce487adc5fccbcbc8e770d91785fe0bf.jpeg)

I really suggest looking into Mesh Distance Fields in conjunction with foliage as it improves performance greatly. We used this feature in our recent Open World GDC demo to create a visually stunning and asset heavy scene.

**Mesh Distance Fields**

> **[Distance Field Ambient Occlusion](https://docs.unrealengine.com/5.1/en-US/distance-field-ambient-occlusion-in-unreal-engine/)**
>
> An overview of using Mesh Distance Fields to create dynamic ambient occlusion for SkyLights.

> **[Distance Field Soft Shadows](https://docs.unrealengine.com/5.1/en-US/distance-field-soft-shadows-in-unreal-engine/)**
>
> An overview of using Mesh Distance Fields to create dynamic soft area shadowing.

Cheers,

---

_[View the full topic](https://forums.unrealengine.com/t/object-radius-doesnt-work-with-foliage-painting/323163)._
