WebGL 渲染到特定的 mip 映射级别
WebGL rendering to a specific mip map level
是否可以在 webgl 中渲染到渲染目标的特定 mipmap 级别?
为什么 framebufferTexture2D 中的级别总是设置为零?
The mipmap level of the texture image to attach. Always set to 0.
没有,according to the spec section 4.4.3
level specifies the mipmap level of the texture image to be attached to the framebuffer and must be 0. Otherwise, INVALID_VALUE is generated.
这是 WebGL 所基于的 OpenGL ES 2.0 的限制
是否可以在 webgl 中渲染到渲染目标的特定 mipmap 级别?
为什么 framebufferTexture2D 中的级别总是设置为零?
The mipmap level of the texture image to attach. Always set to 0.
没有,according to the spec section 4.4.3
level specifies the mipmap level of the texture image to be attached to the framebuffer and must be 0. Otherwise, INVALID_VALUE is generated.
这是 WebGL 所基于的 OpenGL ES 2.0 的限制