private void initTexture() {
webGLWrapper.setTextureWrapS(TextureTarget.TEXTURE_2D, TextureWrapMode.CLAMP_TO_EDGE);
webGLWrapper.setTextureWrapT(TextureTarget.TEXTURE_2D, TextureWrapMode.CLAMP_TO_EDGE);
// Create and initialize the WebGLTexture objects.
textureFront = new Texture2D(webGLWrapper, Resources.INSTANCE.textureSkyboxFt());
textureBack = new Texture2D(webGLWrapper, Resources.INSTANCE.textureSkyboxBk());
textureTop = new Texture2D(webGLWrapper, Resources.INSTANCE.textureSkyboxUp());
textureBottom = new Texture2D(webGLWrapper, Resources.INSTANCE.textureSkyboxDn());
textureLeft = new Texture2D(webGLWrapper, Resources.INSTANCE.textureSkyboxLf());
textureRight = new Texture2D(webGLWrapper, Resources.INSTANCE.textureSkyboxRt());
// set the texture active on texture unit 0 and bind the texture
textureFront.setActiveAndBind(0);
webGLWrapper.setTextureMinFilter(TextureTarget.TEXTURE_2D, TextureMinFilter.NEAREST);
webGLWrapper.setTextureMagFilter(TextureTarget.TEXTURE_2D, TextureMagFilter.NEAREST);