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"

BP_LightStudio causes shadow error in ParallaxOcclusionMapping

Hello,

I have recently bought Old Village assets from Marketplace which has some very nice looking modular buildings. However when I started using them in my project I discovered that said asset has problem dealing with 'BP_LightStudio' lighting from started content.

Problem is some shadow artifacts which appears when I get closer to the wall. After emailing the author about it He said that the ParallaxOcclusionMapping has problem with dynamic lights and all lights should be static/baked. He also said it can be partially mended with newly added "Contact Shadows" but there are nowhere to be found inside 'BP_LightStudio'

I have tried:

  • Removing 'BP_LightStudio' from scene. But the scene doesn't look good without skybox/sun/skylight. (but this one works)

  • Removing individual light sources from lightstudio and could say the culprit is the "sun" component. But removing that (replacement with static lights) doesn't look good and is probably more taxing on HW

  • Setting sun as Stationary, which helps only until I rebuild lighting

I don't have experience with ParallaxOcclusionMapping (only know the theory) to try fix it in material.

How it should look (and looks while in distance): How it should look

Artifacts when close: alt text

Does anyone have possible solution? Thanks

Product Version: UE 4.14
Tags:
wall1.jpg (103.0 kB)
wall2.jpg (126.1 kB)
more ▼

asked Jan 24 '17 at 11:31 PM in Rendering

avatar image

DFDark
8 3 6 8

avatar image artistcaleb Mar 28 '17 at 01:23 PM

I also ran into this issue. When I selected a light source and turned shadow casting off, the problem went away. I read that you have to do something special with the POM nodes "Note - You might need to disable shadow casting on the mesh to get the correct visual effect. This is because the shadows are not accounting for the offset height and still trying to cast a shadow using the original mesh. There are ways to change this using the bottom half of the POM function, but..." (that article can be found here: https://wiki.unrealengine.com/Parallax_Occlusion_Mapping )

I'm thinking of just using tessellation though because this is starting to cause my brain to melt, so if you find out a better solution I'd like to know too.

avatar image artistcaleb Mar 28 '17 at 02:05 PM

Ok I discovered something new about it, when I disconnected the Pixel Depth Offset in the graph, the self shadowing went away and I could then turn shadow casting back on, works fine. The only downside is that the pixels will no longer be pushed upward (as in intersecting with other geometry like true tessellation). Take a look at this video for plenty of good info: https://www.youtube.com/watch?v=4gBAOB7b5Mg

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

0 answers: sort voted first
Be the first one to answer this question
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