Is it possible to have a particular material not use half floats on Mobile?
We have a particular material that renders fine on PC but is really low res on Mobile. My understanding is that mobile uses half floats in the pixel shader. Is there anyway to turn this off for a particular material?
Is the use of half floats a hardware limitation or is it just a performance optimisation? If there's no current way to turn this off could you please point me in the right direction so I might be able to implement it myself?
asked May 15 '16 at 11:56 PM in Rendering
Some older devices don't support full precision floats at all. For those that do, full floats are generally half the speed of half floats, but we realize there are cases where you want to eat the cost, and we have a feature request currently slated for 4.13 that will enable you to turn on full precision on a per material basis. The ticket for that is UEMOB-109.
In the interim, you could try use the "CustomUV" feature of the material system which lets you perform calculations in the vertex shader and send the results to the pixel shader, which does allow you to work around a lot of precision issues.
answered May 16 '16 at 10:35 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here