Dithered lod transition bug

When using Dithered LOD transition with landscape grass using new Use Landscape Lightmap feature on iOS metal has nasty rendering error. I assume that lightmap coordinates are somehow corrupted during that transition. It seem that I can’t disable dithered lod transitions completely for Landscape grass type.
Without new Lightmap feature grass look totally wrong so I would want to see this fixed.

UE4.12.4 preview.

This is how bug look. Screenshot taken from iPad pro. Where dither pattern is visible lighting is broken.

Is there need for more info?

Hey Gore,

So the issue here is that Dithered LOD transitions only function when you have a platform that can support Temporal AA. The dithering effect is directly dependent on Temporal AA and mobile devices use a mobile specific Temporal AA that does not function the same, which means the dithering is expected

You can also have a read over the post below for additional information on Mobile Anti-Aliasing. It looks like MSAA is on our road map to have integrated.

Let me know if you have further questions or need additional assistance.

Thank you,

Andrew

Problem is not the dithering. Problem is that when LOD change happen landscape grass lightmaps are totally wrong. I am talking those really dark grass blades. This is caused by new “use landscape lightmap” feature which work fine until LOD change happen and then all grass that are swapping LOD’s goes dark until LOD change is complete.

Ah, I misunderstood the issue. In that case, could you provide me with some simple reproducible steps or a sample project so I can get the issue to occur on my end?

Simple project with landscape. Add Landscape grass type. Check Use landscape lightmap to ON. Make sure foliage mesh has LOD’s. Scene should have some shadow casters so lighting has some variance. Materials can be super simple. When this is tested with iOS device using metal LOD changes have corrupted lightmaps.

I just tested this with a simple set up on my end and was not able to reproduce the issue. Could you provide me with your project so I can test your exact issue on the iPad Pro we have here?

Thank you,

I will need to make minimal test case then.

https://dl.dropboxusercontent.com/
Minimal test case. Both terrain and grass use solid color and lighting bug when dithered is clearly visible at shadows.

What is status of this bug report? Problem is still clearly visible on 4.12.1 when using iPad pro.

Hello,

Due to some technical issues it took a bit to get this tested. Unfortunately, whenever we attempt to deploy your project to our iPad Pro, the project never opens completely. It reaches the splash screen and then closes without ever showing the level itself. This same result does not occur on our other iOS devices (Such as an iPad Air and an iPhone 6. In case it matters, are you building from a Mac? Also, what iOS version is your iPad Pro on currently?

Just tested bug with other devices and it’s clearly not related just to iPad pro. Exactly same outcome with iPhone 6s and IPad pro mini.

Hey,

I had another peer run your test project on the iPad Pro version 9.3.2, and did not see the issue you are reporting. We worked directly with apple on the 9.3.2 release to get fixes in to the way metal handles rendering, and the issue you are seeing could be directly related to your iOS version. Try updating to see if that resolves your issue. Let me know your results.

Cheers,

My iPhone is using 9.3.2 ios version and I can see same bug there. I will make another test project where the bug is more pronounced.

There is comparison shot how scene look when dither LOD change is not activated and when it is. I removed everything from scene that would distract to see this bug. It’s quite clear that when LOD change is happening other LOD is using wrong lightmap data. Everything is looking great when camera is static and LOD’s are not changing.

Link to project. https://dl.dropboxusercontent.com/

Hey,

Apologies for not mentioning this earlier, but the person who tested internally, tested in the upcoming 4.12.3 hotfix, which is where he saw the issue resolved.

Would you mind running a quick test for me on your end in the 4.12.3 hotfix release once it comes out within the next couple days. We have all the information needed to write up a report if it comes to that, but I would like to see if the issue is resolved in the upcoming release.

Thank you,

Thanks. I will test it when it comes out.

I just tested with 4.12.3 and problems is still there. This new test case should demonstrate problem very easily.

So we are still having problems reproducing the issue on our end on the devices you mention. I will say there is a bug in place right now that looks very similar to your issue, and deals with Dithered LOD transitions showing a ‘screen door like effect’. For tracking purposes the bug number is UE-31678.

If this is what you are seeing or referring to then it seems we have the bug in place. I have one question about the issue that might help us reproduce the bug. Are you able to see the issue within the Editor or is this strictly on the device itself?

Is there a way you could provide a test video of the issue occurring so we can see exactly what you are referring to?

Thank you,