x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Strange culling behavior - Foliage

Hi guys, I have big problems with the performance of my scene. Usually, it runs with 100fps in an average, but when I look on the whole scene it shrinks down to 10 fps. The problem is the grass. When I hide it, everything is fine.

The culling doesn't work properly. The cull distance is measured in Unreal Units, right? Well, I set it to 1 unit (1cm) and the grass in the back disappear. Well, fair enough, this is what I thought would happen ... but the grass in the foreground is still visible.

After zooming out - several meters - the grass disappears.What could cause this and what could be a solution here? And here, this is pretty 'good' culling. Some grass clusters didn't even disappear even after 20000 units.

Thanks for your help!

alt text alt text alt text

Product Version: UE 4.18
Tags:
culling-3.png (1.3 MB)
culling-1.png (1.1 MB)
culling-2.png (1.1 MB)
more ▼

asked Apr 19 '18 at 01:54 PM in Using UE4

avatar image

gestoryscht
32 4 14 16

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

4 answers: sort voted first
more ▼

answered Apr 19 '18 at 01:57 PM

avatar image

Xaith
366 3 2 12

avatar image gestoryscht Apr 20 '18 at 07:18 AM

Thanks for the fast reply, but no. This doesn't work :/ I imported a whole new Mesh and replaced it in the foliage tool with the new one. No change. Actually, I do not have a LOD Ground assigned - so this isn't the problem.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Okay okay, it's definitely the grass mesh, but I do not know why, to be honest. I created a new map (in the same project) and placed some grass patches. The same problem - I replaced the mesh with one of my crate mesh and it works perfectly. Now I have to get a clue what is wrong here ^^

I will be back soon with more information.

EDIT: For me, this is a bug. In case it isn't, please explain me this behavior:

First screenshot. I've painted some grass with the fresh imported grass. Culling doesn't work (well, it works, but with the described problems).

Second screenshot. I switched the mesh. Culling works as expected.

Third screenshot. I switched back and et voila ... it works for some time. After tabbing onto the desktop and back it's broken like before. It's wonderful _

alt text

alt text

alt text

bug-1.jpg (374.7 kB)
bug-2.jpg (392.5 kB)
bug-3.jpg (367.8 kB)
more ▼

answered Apr 20 '18 at 01:01 PM

avatar image

gestoryscht
32 4 14 16

avatar image Velrin Apr 20 '18 at 01:58 PM

Check the bounding box on the grass mesh. Make sure its properly covering the whole mesh.

avatar image gestoryscht Apr 20 '18 at 02:07 PM

This is how it should look right?

alt text

boundingbox.jpg (105.1 kB)
avatar image Velrin Apr 20 '18 at 02:09 PM

Yeah, that's correct.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

It is definitely a bug - my project is broken. I started a completely new project and placed everything there. It works perfectly.

Now I have to transfer everything into a new project ... I hope this is even possible :D

more ▼

answered Apr 20 '18 at 01:35 PM

avatar image

gestoryscht
32 4 14 16

avatar image Xaith Apr 20 '18 at 02:21 PM

It's probably a setting somewhere? It's often something simple that was overlooked. I'll look into this a bit more as well just so I know more. If you are unable to transfer your project info. or if you want to try o to fix the issue in your current project, send me a PM, I'll try to help.

avatar image gestoryscht Apr 20 '18 at 02:49 PM

Thanks for your effort - I really appreciate it. Could you send me a PM? I can't find the button - I just see the 'follow' button. Thanks!

Ohhh and please take a look at the file I've posted. I think my UE is totally broken now. I created several new projects and in the first place, it works and then it 'crashes'. Now after the seventh project I've made, nothing works at all... wow.

EDIT: I'll upload the video elsewhere.

EDIT2: https://www.youtube.com/watch?v=pOS4LQDPVEk&feature=youtu.be

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Okay, an update. Now, after setting Dithered LODs to true in the material panel per hand, the dithering works ... BUT there is no change in the performance. Everything is still laggy as hell.

I've set the culling distance to 1, so no grass is drawn. FPS is still low. After hiding the whole grass instance, the performance goes to around 100fps.

Visually it's the same. In both version the grass is not rendered, but with culling there is no performance difference. Still buggy ... it seems, the foliage is still in the memory...

more ▼

answered Apr 23 '18 at 08:40 AM

avatar image

gestoryscht
32 4 14 16

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question