public void setPixel(Vector3f vector, int mipLevel, ColorRGBA color) {
        if (mipMapRaster == null) {
            throw new IllegalArgumentException("This cube map has no mip maps");
        }
        int face = EnvMapUtils.getCubemapFaceTexCoordFromVector(vector, sizes[mipLevel], uvs, EnvMapUtils.FixSeamsMethod.Stretch);
        mipMapRaster.setSlice(face);
        mipMapRaster.setMipLevel(mipLevel);
        mipMapRaster.setPixel((int) uvs.x, (int) uvs.y, color);
    }
writes a pixel given the coordinates vector, the mip level and the color.
@param vector the coordinates where to write the pixel
@param mipLevel the miplevel to write to
@param color the color to write
jme3-core/src/main/java/com/jme3/environment/util/CubeMapWrapper.java