Hello,
i want to display a material texture in a nifty image element
i found on the forum somethign like this
[java]
assetManager.addToCache(new AssetKey(“pippo”), texture);
NiftyImage img = nifty.getRenderEngine().createImage(“pippo”, false);
image.getRenderer(ImageRenderer.class).setImage(img);
[/java]
but the addToCache function has been removed
how can i achieve thiss ?
thx