- Home /
Is there a way to export a terrain texture.
Hi,
I wonder if there is a way to export a terrain (final) texture. No splatmap. Just the final texture. I created a terrain with unity terrain toolkit, exported the terrains as an obj and Id like to export the final (combined) texture. That way I could bring this "terrain" to unity iphone.
Is there a way?
TIA
Answer by Eric5h5 · Apr 22, 2010 at 12:21 AM
You could try taking a screenshot with a camera set to orthographic from overhead, looking straight down on the terrain. There is no direct way, since the "final" texture is generated on the fly based on the splatmap data, and can change every frame depending on the camera position, since the detail textures are replaced by the basemap texture at a given distance from the camera.
Hi Eric,
Thanks for your reply.
I was trying to use the undocumented terrain api. I dont use details or trees on the terrain, so I thought it was possible to export just the combined ground texture. That would be enough to have a decent workflow to create terrains for the iphone. The API has information about the splatmap layers, but it seems the terrain engine combine them only at runtime.
Im also googling for how to blend the textures using the splatmap and photoshop.
If you know something about it please let me know.
TIA, R.Silva
@Immersiva: Right, there is no combined ground texture...as I mentioned, it's created on the fly from the splatmap. You can't use textures higher than 1024x1024 on the iPhone anyway, so taking a screenshot from an orthographic camera is going to be the easiest way by far.
@Steven: Sort of. The combined texture would be something like 100000x100000 pixels, depending on the size of the terrain and the tiled size of the terrain textures. The basemap is a really low-res representation of this.
Your answer
Follow this Question
Related Questions
Terrain for Unity iPhone 3 Answers
How can I use SetAlphamaps and apply texture to the rail? 0 Answers
Rotate Terrain 180 Degrees for Ceiling? 1 Answer
Asset sought 1 Answer
Paint textures on an object 0 Answers