UE4 4.9 - cast modulated shadows causes flickering on IOS dynamic characters
2016-01-19 13:59
1036 查看
UE4 4.9 - cast modulated shadows causes flickering on IOS dynamic characters
0 | I'm using UE4 4.9 for mobile IOS. The shadows flicker on certain characters (but not all, despite all having the same options selected) when playing on IOS. It appears fine in editor/play. It resembles z-fighting but there is only one mesh. I am using a stationary directional light with "cast modular shadows" option checked on. The characters have Cast Shadow and Dynamic Shadow checked on. I have attempted to package with Dynamic Shadow checked and unchecked without change in shadow flickering. The Modulated Shadows settings are Min Rough: 1, Shadow Bias: 0, Shadow Filter Sharpen: 0. I have tried playing with those settings as well with no change in flickering. Product Version: UE 4.9 Tags:iosmobileshadows4.9flickering more ▼ asked Sep 10 '15 at 3:56 AM Anngelica 1 ● 2 ● 3 Logan Bailey ♦♦ STAFF Sep 15 '15 at 2:13 AM Hello Anngelica, I am sorry you having this issue. From what you describe you have a project set for mobile IOS device. On certain characters you see a flickering shadow that resembles Z-fighting. This only occurs when you play in mobile preview but not in editor/play. This is because this action invalidates the precalculated lighting. If the lighting was rebuilt after the change then it would work as expected. In deferred rendering this action causes the lighting system to revert back to dynamic preview lighting (falling back to movable lighting). That path is not currently supported by the forward renderer. Devices that do not support depth fetch in shader (iPhone4, etc) will not even try to render decals and modulated shadows. So if the device that you are trying to package to does not support depth fetch it won't even try and render. What device are you attempting to package to? If you have not built lighting before changing from Stationary to Movable and the other way respectively then the shadows will be invalidated and not render correctly. Here is a link to what is supported on what devices. https://docs.unrealengine.com/latest/INT/Platforms/iOS/DeviceCompatibility/index.html This is an updated list : https://wiki.unrealengine.com/IOS_Device_Compatibility#Device_Specific_Notes This is our list on performance for IOS : https://docs.unrealengine.com/latest/INT/Platforms/Mobile/Performance/index.html After looking through our documentation and determining if there is a compatibility issue, please post again with what you have found. Logan Logan Bailey ♦♦ STAFF Sep 15 '15 at 11:20 PM Hello Angelica, I was wondering if you were still having this issue? Also, have you had a chance to look into the above mentioned troubleshoots? Thank you, Logan Anngelica Sep 15 '15 at 11:33 PM Hi Logan, Thank you so much for responding! The issue is occurring on the iPad Air and iPad Air 2. We aren't sure if depth fetch in shader is supported on it and are trying to find out. I'm sorry but I'm not sure I understand the build lighting suggestions. I build lighting as stationary prior to packaging the project and the flickering occurs. I have not changed the light type - it is stationary and needs to remain stationary, so will I have to change it to something else and build first? I probably should've used the term 'dynamic' in the title of this question instead of 'movable', sorry about that. Edited. Logan Bailey ♦♦ STAFF Sep 15 '15 at 11:46 PM Hello Anngelica, So, Stationary and Static lighting require a build to calculate how the lights will be calculated inside of your scene. As long as you are building with Stationary before packaging you should be fine. I was just running down a list of possible troubleshoots. Logan NoaScape Dec 07 '15 at 10:28 AM Hello, thanks for this post. My company is having the same problem with these severe shadow flickering on characters in 4.9 when played on iPad air 2. Do you know if this has been fixed in 4.10? Thank you! Logan Bailey ♦♦ STAFF Dec 07 '15 at 11:00 PM Hello NoaScape, If you would please post a separate thread with your issue and all information that could be relevant to your project and what you see happening when you launch to the iPad air 2. Also if you would include screenshots and reproduction steps leading up to when you first noticed your shadows flickering. Lastly, if you would post a link to that thread here. I will then assign myself to that issue. Thank you, Logan NoaScape Dec 08 '15 at 9:21 AM Thank you for your reply, Logan. I will get some screen shots of some simple assets and start a new thread as you indicated. Much appreciated! NoaScape Dec 08 '15 at 6:09 PM We did a test, and discovered that the shadows on the characters seem to look clean on iPad when the character is very close to a mesh which is casting shadows, but the shadows become jittery as they get further from the mesh. I will create a proper thread tomorrow. Thank you! NoaScape Dec 09 '15 at 2:46 PM We are going to double check a couple more things before posting a new thread. Thank you! Puyak Dec 14 '15 at 7:31 AM Newest Just wanted to mention that I had the same issue on iPhone6s. (4.10.1) I got around the issue by changing the directional light mobility from Stationary to Movable . Although Epic warns about performance hit, but for our scene which is quite complex the performance was same for iPhone6s. Hope this helps. |
first ▼
0 | Hello Anngelica, I have a question. If you switch your lights to dynamic and then launch to the iPad Air does this fix the issue? Also have you had a chance to check if depth fetch is supported? Logan more ▼ answered Sep 17 '15 at 2:23 AM Logan Bailey ♦♦ STAFF 10.4k ● 137 ● 3 ● 89 |
相关文章推荐
- C# wpf WebBrowser遮挡上层UI的解决办法
- Jenkins+Git 集成测试(build、zip、curl)
- How to Change RabbitMQ Queue Parameters in Production?
- UE3模块化阴影
- UE4 Directional Lights
- UE4 Dynamic Scene Shadows
- Request的getParameter和getAttribute方法的区别
- Request的getParameter和getAttribute方法的区别
- LabWindows/CVI入门之第二章:GUI开发
- Divide and conquer:Moo University - Financial Aid(POJ 2010)
- UIImageView
- 在iOS开发中关于(UIDevice、NSBundle、NSLocale)注意:凡是使用这些控件必须引入“UIKit.h”框架
- UISearchBar becomeFirstResponder不生效解决
- iOS 【UIKit-Quartz2D使用(绘制基本图形)】
- unique_ptr数组笔记
- ios7下面用autolayout报错类似 *** Assertion failure in -[XXX layoutSublayersOfLayer:], /SourceCache/UIKit/U
- IOS开发之UIScrollViewDelegate详解
- GCD多内核线程-之dispatch queue深入浅出
- 跟我学习dubbo-ActiveMQ的安装-单节点与使用(9)
- easyui初始化combobox