I am trying to create a mipmap texture load with my custom GLSL shader
here is what I got:
new BABYLON.Texture can provide the mipmap and I am able to load it with
vec4 cd= texture(myLoadTx, vec3(clamp_uv_inv, miplevel));
however I would like to replace the mipmap with certain levels, is there a way to handle it?
for example: get the mipmap data with javascript and replace it with another image
or is there way around it? but be able to customize the mipmap is needed!
I saw this one: https://sbcode.net/threejs/custom-mipmaps/
can I do something like that?