Arm Community
Site
Search
User
Site
Search
User
Support forums
Mobile, Graphics, and Gaming forum
Depth texture linearization banding on Mali 400
Locked
Locked
Replies
4 replies
Subscribers
136 subscribers
Views
4625 views
Users
0 members are here
DS-5 Development Studio
Mali-GPU
Mali-400
Options
Share
More actions
Related
How was your experience today?
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion
Depth texture linearization banding on Mali 400
Stephane Jacoby
over 12 years ago
Note: This was originally posted on 19th June 2013 at
http://forums.arm.com
Hello Mali devs,
We are working on an application that performs depth buffer based post processing effects, mainly for fog. We are using 24bit depth for the main scene. However when sampling this depth, the results are very banded (see attachment) due to the non linear nature of the depth buffer and Mali400's mediump 0-1 precision (2^-10 I believe). With most depth values lying in the 0.96-1.0 range, the precision is obviously insufficient. Are there any workarounds that would allow use to leverage the non fractional range of mediump floats? I suspect there isn't however wanted to make sure as the platform does provide depth24 and depth texture extensions. The option of vertex based fogging is an alternative, however, we hope to stay away from that due to the added global cost of the technique.
Many thanks,
Stephane
0
Quote