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. 

distance fields AO giving artifacts on interiors?

I've been testing Distance fields on my project and it gives me decent results on everything but interiors, I get these wierd artifacts, that only seems to come on the inside of buildings.

The houses are all made in kit form so it should be able to and looks like it is able to make quite good Mesh distance fields but for some reason i still get artifacts that seem to be coming from the Distance field ambient occlusion.

I can't seem to find any control for blurring it out in some way. The only controls i can seem to find for the AO is under the Skylight and i can't seem to make it appear nice on the inside without it completely removing it from the outside. .

Some artifacts on the walls

Distancefields AO visualized

Distancefields AO visualized

On the above image I've turned off [Affect distance field lighting] And the effect is still visible. Here are the same room with affect distance field lighting turned on. AO![alt text

Mesh Distance fields

I don't know what i'm doing wrong? is there a way to fix it? should i just go back to no Distance fields? If i need to provide anything else i'll be happy to!

Product Version: UE 4.20
Tags:
1.jpg (120.7 kB)
2.jpg (82.1 kB)
6.jpg (88.1 kB)
7.jpg (112.4 kB)
8.jpg (74.6 kB)
more ▼

asked Mar 09 '19 at 06:25 PM in Rendering

avatar image

OMGconex
1 1

avatar image OMGconex Mar 09 '19 at 06:36 PM

Mesh Distance fields

alt text

alt text alt text alt text alt text

With min occlusion on 1 the AO is turned off and the artifacts disappear but the overall image losses a lot of "grounding"

9.jpg (109.0 kB)
10.jpg (278.0 kB)
11.jpg (279.6 kB)
12.jpg (112.9 kB)
13.jpg (115.6 kB)
avatar image OMGconex Mar 09 '19 at 10:23 PM

I've noticed that lowering the Occlusion Max Distance seems remove a lot of the artifacts which seems kinda opposite to me? since i would expect lower quality results? And the recommended value is 1000. It seems to me that the higher the value the more overlapping occurs creating the artifacts, but below 100 the artifacts become more prevalent again.

Half of recommended Half the recommended size

1/10 of recommended 1/10 the recommended size

having to lower the max distance seems to effect the overall lighting making it lighter overall.

alt text 1/10 of the recommended size

alt text Half of the recommended size

But so far it seems to be the best solution. i still get some artifacts but they seem much more minor now.

16.jpg (80.6 kB)
17.jpg (79.4 kB)
14.jpg (118.5 kB)
15.jpg (114.5 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Are you able to set this stuff with blueprints? You may be able to turn off DFAO through a volume trigger as you enter the building.

I honestly have never seen this happen with DFAO before, so I can't provide much assistance in this regard. You may be encountering an engine limitation in which case you may have to switch back.

I also noticed in your side-by-side of the AO min occlusion being set to 1 that everything simply becomes brighter rather than changing the shape of the AO-- you may be able to compensate by simply turning the brightness down on your interior lighting/materials (though it's a poor man's way of doing it, it'll do the job).

more ▼

answered Mar 09 '19 at 09:19 PM

avatar image

CorsairOfLight
25 2 2 5

(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