Re: Big trouble with ceating mipmaps automatically
Posted by adi on Sep 09, 2014; 5:45pm
URL: https://forum.jogamp.org/Big-trouble-with-ceating-mipmaps-automatically-tp4033083p4033106.html
Hi
I have also testet with
gl.glTexImage3D( GL4.GL_TEXTURE_3D, 0, format, width, height, 1, 0, format, GL4.GL_UNSIGNED_BYTE, datas );
alone. Only the (base) map what ist in datas was drawn correct.
In the shader i call then
// the base map, that is ok
vec4 textureColor = texture(colormap, vec3(texCoord[0],0));
then a new test with
vec4 textureColor = texture(colormap, vec3(texCoord[0],1));
and so on. I can't see mipmapping
I have also testet with GL4.GL_TEXTURE_2D_ARRAY, but nothing,
the same problem.