Original Post
Hey,
I want to create a mipmap texture manually.
Such that texel (i, j) of level n stores the minimum of texels (2i, 2j), (2i+1, 2j), (2i, 2j+1), (2i+1, 2j+1) in level n-1.
Now I have level 0 of the mipmap texture.
I want to fill texels data to the other levels using shader.
Just like render to texture. I want to render to a level of a mipmap texture.
Can I bind a level of a mipmap texture to the render target? How to do it?
Thank you in advance!
I want to create a mipmap texture manually.
Such that texel (i, j) of level n stores the minimum of texels (2i, 2j), (2i+1, 2j), (2i, 2j+1), (2i+1, 2j+1) in level n-1.
Now I have level 0 of the mipmap texture.
I want to fill texels data to the other levels using shader.
Just like render to texture. I want to render to a level of a mipmap texture.
Can I bind a level of a mipmap texture to the render target? How to do it?
Thank you in advance!