Is there any way to enable mobile fog as in UE3?
Exponential height fog works on mobile. Unlike PC, it will be evaluated at the meshās vertices and interpolated to the pixels, so you need to have reasonable tessellation. Usually this is not noticeable, unless you make a low poly background mountain.
Hi, Iām trying to get some sort of fog working on mobile but am not having any luck. Are you sure exponential height fog works on mobile as it isnāt doesnāt seem to - either in the mobile preview or on my android devices?
Iāve also tried using the atmospheric fog but that doesnāt work on mobile.
Finally Iāve tried making a simple plane with a depth fade material on it. This looks fine in the mobile preview but when I launch on device the āsoftā edge doesnāt work anymore (so you can see the plane intersecting the landscape)
Hey bazmod -
As points out above, the Exponential Height Fog is evaluated on a vertex level then interpolated to pixels, so if you have a low poly background piece the fog will be interpolated very poorly. Can you check to make sure that the pieces you want to be in your fog have a sufficient tessellation?
Atmospheric Fog should not work on mobile. This is a known limitation.
For the Depth Fade issue, can you let me know what mobile device you are experiencing this issue on?
Thank You
Eric Ketchum
Hi, thankyou for the answer. I have tested this on a galaxy tab pro and s4 mini. Iāve attached some screenshots to show the problem more clearly.
Iām thinking that using a depth fade material is probably the better solution for this at the moment anyway as Iām guessing the exponential height fog will be too expensive.
Thanks again for the help
Hey Bazmod -
For the ultimate look you are trying to go for I would agree that the Depth Fade may give you a result closer to what you are looking for. The differences that you are seeing with the Exponential Height Fog is based on the render by pixel versus render by vertex. The editor will always have a āthickerā appearing fog than a mobile device.
Thank You
Eric Ketchum
Thanks for the answer however the problem is that the depth fade effect isnāt actually working on android as shown in the pic on the bottom right - thereās no fade on it. Is this a known issue/limitation on mobile or are there any workarounds I can try?
Hey bazmod -
Can you give me a screenshot of your DepthFade Material and are you using a Plane or a Box to apply it to your level?
Thank You
Eric Ketchum
Did you guys ever get Depth Fade working on Mobile? Iām having the same problems with an ipad air 2.
You should set up a material function like so and for materials you want fog applied to, use Add Nodes and plug them into the Base Color and Emissive Color.
http://i.imgur.com/TLFptlG.png?1
This is tedious and shouldnāt be a necessity for mobile platforms, it would be better if there was a āSimple Fogā actor that automatically puts fog in this way.
Pixel depth material is not working for me on Iphone 5s.