Fractscape comes with a ApplySplatmap.js script that you are directed to put in an Editor folder in your project. It is supposed to add a new Apply Splatmap command to the Terrain menu, but it does not in 2.6 Pro.
How can I manually use this splat map to apply multiple textures? I can’t find splat map in the docs.
The only thing that would prevent this working in 2.6 is if your splat texture is not marked readable (in which case, simply make it readable). Other than that it works fine.
–Eric
Does the script add a new command under the Terrain menu? That is what I was looking for. The splat map loads as an asset, I select it, but then can not find how to trigger the script.
Yep, there will be an “Apply Splatmap” entry in the terrain menu. If it’s not there, the only thing I can think of is the script isn’t in the Editor folder or the Editor folder is in the wrong place (for example, it shouldn’t be in Standard Assets/Scripts, though otherwise I think it can be pretty much anywhere).
–Eric
I tried adding it to another project a tutorial I’m working through. Put it in Tut Folder/ and also in Tut Folder/Editor. Nothing happens in Unity and no Apply Splat maps appears under Terrain.
Do I nned to stop and start Unity? I am running the 30 day pro version trying to make sure I can get my content into it, plus build nice terrains.
Maybe try putting the Editor folder in the base of your project? You shouldn’t have to restart Unity; as soon as the script finishes compiling, the menu item will be available. Whether you’re running a Pro trial is actually not relevant in this case since the same functionality is available in the free Unity. Something like the attached screenshot always works.
–Eric

That’s the trick, the Editor folder has to be inside Assets. I created the folder as you had it (created it inside Unity) and it puts the folder inside Assets.
I tried earlier just dropping the script into assets and it causes an error.
Your instructions seem to say Project/Editor/script instead of project/Assets/Editor/script.
But in the second case it worked fine. In the first it does nothing.
Sorry for the confusion. I have already bought your license and expect to get a lot of use from it. Good tool. Setup was just a little confusing.
Thanks for getting me up and running!
“You can’t make something idiot proof - they just come along and make a better idiot!”
My software developer’s motto!
Now if Unity would just import animation from Collada or anything other than FBX.
David
OK, I should clarify that. Glad you’re all set!
–Eric
Spoke too soon - I get a tif map that shows the texture application, drag it to UNity, it looks fine, hit Apply Splat Map and I get - splatmap must be in RGBA 32 bit format. It is a 32 bit RGBA tif file, are there any compression options that can be set?
It shows in UNity as compressed DXT5, loads fine, but won’t apply. Tried a couple of extra times to see if there were any settings I missed.
One step at a time tonight!
As the error says, you have to set it to RGBA 32 (in Unity); compressed textures don’t work. (Although, come to think of it, I believe compressed textures will actually work in 2.6 if I changed the script to allow it. However, uncompressed is better in any case.)
–Eric
So how do I uncompress your texture?
I didn’t see any non compressed export option.
Can I set Fractscape to always export them in a format Unity can read as exported?
I’m not getting RGBA as a format option in UNity, only uncompressed 32 is ARGB 32, which gives the same error.
ARGB 32 will apply (after checking readable box), but the snow is now under the water as the base! ![]()
No RGBA 32 except compressed given as an option
ARGB 32, RGBA 32…same difference.
If you change the order in which the textures are set up in the terrain, then you can set which texture goes where.
–Eric
I found that in your code - you test for ARGB, but put RGBA in the error message, so I was looking for the wrong option in the import list.
ALl working and thanks for the help. It is a VERY handy tool.