KhronosGroup / KhronosGroup/OpenGL-API

OpenGL ES: What extensions allows depth textures to be filterable?

未关闭
#84 8 条评论 0 个 reaction 已指派 1 人 已被 @greggman 认领 在 GitHub 查看
主要语言
没有语言数据
星标
42
派生
8
PR 合并指标
30 天内没有已合并 PR

描述

[The OpenGL ES 3.2 spec](https://www.khronos.org/registry/OpenGL/specs/es/3.2/es_spec_3.2.pdf) section seems to say that depth textures are not filterable 8.17 page 207

> Using the preceding definitions, a texture is complete unless any of the following conditions hold true:
>
> ...
> * The texture is not multisample; either the magnification filter is not
> NEAREST, or the minification filter is neither NEAREST nor NEAREST_-
> MIPMAP_NEAREST; and any of
>
> - The effective internal format specified for the texture arrays is a sized
> internal depth or depth and stencil format (see table 8.11), and the value
> of TEXTURE_COMPARE_MODE is NONE.

My understanding of that is that in OpenGL ES 3.2 depth textures are not filterable. Maybe I'm not finding it but I don't see any extension that would make them filterable. `OES_texture_float_linear` doesn't mention depth formats.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。