本文介绍了WebGL:在Android上对OES_texture_float的支持下降的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道这些年来对Android上对WebGL扩展OES_texture_float的支持下降的影响是什么吗?

Does anybody know what the deal is with declining support for the WebGL extension OES_texture_float on Android over the years?

https://webglstats.com/webgl/extension/OES_texture_float?platforms=000000000010000400

这是某种形式的数据收集错误,还是支持率真的下降了?

Is this a data collection error of some sort, or is the support really declining?

如果您将Android从过滤器中剔除,那么基本上100%的其他主流移动和台式机平台都支持`OES_texture_float:

If you take Android out of the filter then `OES_texture_float is supported on basically 100% of the other mainstream mobile and desktop platforms:

https://webglstats.com/webgl/extension/OES_texture_float?platforms=000036048004003200

推荐答案

有大量的OpenGL ES 2.0部件发货,它们根本不支持浮点纹理化(例如,所有Mali-4xx系列).

There are a large numbers of OpenGL ES 2.0 parts shipping which simply don't support floating point texturing (all of the Mali-4xx series, for example).

这是OpenGL ES 3.x的核心功能,因此我怀疑许多移动设备供应商不会公开这些扩展,只是希望人们切换到具有所有新功能作为核心一部分的更新API.规范,而不是支持他们零敲碎打鉴于WebGL 2已发布,这对我来说似乎是一种明智的方法,因为它可以确保一定程度的跨平台可移植性...

It's a core feature in OpenGL ES 3.x, so I suspect a lot of mobile vendors don't expose the extensions and just expect people to switch to a newer API which has all of the new features as part of the core spec rather than supporting them piece-meal. Given WebGL 2 is now published, this seems a sensible approach to me as it guarantees some level of cross-platform portability ...

这篇关于WebGL:在Android上对OES_texture_float的支持下降的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 13:31