L3DT users' community
Large 3D terrain generator

Creating Splatmaps for Unity Game Engine from attributes map

One of the trickier subjects in L3DT

Creating Splatmaps for Unity Game Engine from attributes map

Postby Quen » Mon Jul 11, 2011 12:02 pm

Hi everyone!

Until now I only used the "simple" functions of L3DT: design a map -> calc. heightfield & textures -> export.
Now I want to use the attributes map to control tiled textures in Unity. The problem is the way Unity controls the textures. Here is a short sample:
http://img705.imageshack.us/img705/6475 ... atmaps.jpg
So there are 4 textures on each splatmap. If I add more textures, more splatmaps will be created.
Is there any way to use the climate settings or a script to create splatmaps like this in L3DT(pro)?
I thought of replacing the colors of the attributesmap manually in photoshop, but I am looking for a workflow that works more than once or twice. This way would need too much time.

Would be great if anybody got an idea how to handle this! :-)
Thanks in advance!

Many greetings,
Quen
Quen
New member
 
Posts: 7
Joined: Tue Jun 15, 2010 7:19 am

Re: Creating Splatmaps for Unity Game Engine from attributes

Postby Aaron » Mon Jul 11, 2011 9:46 pm

Hi Quen,

To generate splat maps (or 'alpha maps', as they are known around here), please see this user guide:

http://www.bundysoft.com/docs/doku.php? ... :ops:alpha

Best regards,
Aaron.
User avatar
Aaron
Site Admin
 
Posts: 3696
Joined: Sun Nov 20, 2005 2:41 pm
Location: Melbourne, Australia

Re: Creating Splatmaps for Unity Game Engine from attributes

Postby Quen » Tue Jul 12, 2011 7:09 am

Great!
As expected, you are a hero, Aaron! :) Thanks a lot!
Sorry for not searching enough before posting!
Quen
New member
 
Posts: 7
Joined: Tue Jun 15, 2010 7:19 am


Return to Climates and materials

Who is online

Users browsing this forum: No registered users and 3 guests