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"

GPU Particle collision with normals on material

GPU particle collision seems to not respond well with an object that has a normal map applied to it. I have tried a number of normal maps:

Blank normal seems to be okay, Aggressive normal is horrible for collision of GPU particles.

Do I need to normalize my normal maps or is this is a bug?alt text

Product Version: UE 4.7
Tags:
more ▼

asked Jun 18 '15 at 07:09 AM in Rendering

avatar image

RyanGadz
93 2 9 15

avatar image Lovecraft_K ♦♦ STAFF Jun 18 '15 at 07:05 PM

Hi Ryan -

I am not seeing the results that you are showing above in my test project. Can you take a look and make any adjustments you need to the project?

Thank You

Eric Ketchum

Test Project

ah_gpucollision.zip (220.8 kB)
avatar image RyanGadz Jun 18 '15 at 07:16 PM

I'm having trouble attaching my zipped version of your test project, but basically I put an acceleration on the particles of -980 in the Z direction to simulate gravity. 95% of them go through on the first bounce, and about 100% on the second bounce. Take away the normal map and they bounce or slide over the surface until they expire.

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Hi Ryan -

Thank you for the additional information. That's what I needed to get the reproduction. I have entered a bug report as UE-17338. I will keep you informed as we investigate a solution to this issue.

Eric Ketchum

more ▼

answered Jun 18 '15 at 07:49 PM

avatar image

Lovecraft_K ♦♦ STAFF
36.8k 702 256 733

avatar image Lovecraft_K ♦♦ STAFF Jun 22 '15 at 06:40 PM

Hi Ryan -

As we investigated this issue, it was pointed out that Scene Depth Collision uses per-pixel normals for collision so changing the normals should change the collision behavior, but in your example and in the original test project multiplying normals by a factor of 10 (very large factor) and then normalizing it likely pushes the normal towards values tangent to the real surface which means when the plane is reconstructed for GPU collision using the normal the two geometries will no longer match each other and you will get this type of behavior.

The functioning of the Scene Depth Collision is working as intended and as designed.

Thank You

Eric Ketchum

avatar image RyanGadz Jun 22 '15 at 09:52 PM

It would be nice to turn normal maps, and/or tessellation off for scene depth collision. Is this possible?

avatar image Lovecraft_K ♦♦ STAFF Jun 23 '15 at 03:59 PM

Hi Ryan -

Not directly the Scene Depth Collision uses the Z Buffer and short of coding the normal out of the Buffer it is not possible in 4.8. IN 4.9, you will be able to use Mesh Distance Fields for GPU Collisions which will ignore Normals.

Thank You

Eric Ketchum

(comments are locked)
10|2000 characters needed characters left
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