Archive 17/01/2023.

Getting a terrain texture Generated

vivienneanthony

Hi,

How do I get generated terrain textures?

I am trying but I’m not sure how to get that into a image.

/// user material method
Texture * blendtex=new Texture(context_);
blendtex = terrain-> GetMaterial() -> GetTexture(TU_DIFFUSE);

Vivienne

GoogleBot42

This might help :wink: http://discourse.urho3d.io/t/solved-loading-a-texture/927/3