Min cull distance is ignored - foliage tool
I am placing meshes with the foliage tool (using SM_Bush from the starter content, on the VehicleAdvExampleMap from the templates).
When I set Cull distance: Min=2000 Max=5000, I don't see soft culling between 2000 and 5000. Instead, meshes appear or disappear exactly on the 5000 line. Changing the min cull distance has no effect. I don't have a cull volume and haven't changed the project settings or the project itself much (from the template). I can see that the meshes themselves are culled by using the wireframe view. The mesh has only one LOD.
I've used this feature of the foliage tool before on my own game and it worked, so I am surprised it doesn't work here.
asked Oct 18 '15 at 10:18 PM in Using UE4
From what you describe you are saying that at 5000 units away from the camera your foliage is culling. No matter what value you add to the Min culling there is no change. After a bit of research I came up with this exert from our documentation.
What you can do is go inside of the material that is assigned from to the "Bush" asset. Take the alpha from the diffuse map and plug that into the A of a multiply. Create a PerInstanceFadeAmount node by right clicking and typing that in. Connect the Fade node to the B of the multiply. Take the multiply output and plug that into the opacity mask of the material. This should fix the issue.
answered Oct 19 '15 at 06:07 PM
Hi, I also have problem with 'Min Cull Distance'. I found solution from this topic: https://forums.unrealengine.com/development-discussion/content-creation/21482-how-do-you-fade-foliage-out-when-culling-in-the-distance?p=270041#post270041
I'm just taking away from 1, what result with the clamp function.
answered Mar 19 '19 at 05:43 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here