starandserpent / java-TerraServer

Terra - Voxel octree of chunks, made for Rituals of the old
MIT License
17 stars 2 forks source link

Make texture atlasing work with mipmaps #17

Open bensku opened 6 years ago

bensku commented 6 years ago

This would make meshes look better from far away. Not strictly necessary, though.

bensku commented 6 years ago

Actually, this is rather important. Without mipmapping, high resolution textures look HORRIBLE.

bensku commented 6 years ago

According to jME forum post from 2012, mipmaps can be generated by user code with same texture format but half the resolution for each mipmap. Image constructor takes sizes of mipmaps; they will be appended to data buffer there.

Just as note to self when I start implementing this.

bensku commented 6 years ago

Note to self: evaluate if making jME support bindless textures (ARB_bindless_texture) would be better solution. First, try to see how good the hardware support for that feature is, as it is not in OpenGL Core.