Feb
21
2013

Terrain test (2)


terrain_unity3d_test2_small

New terrain test (looks better than the old terrain test).

Still problems creating a splatmap in world machine (it becomes overbright >1),
havent found any tutorial how to do it automatically in wm2 – searched the whole internet (twice).

This version almost works, some color errors if basemap distance is low..
Hand copy-pasted separate R, G, B layers together and set alpha channel to black.

Using unity4 normal mapped terrain shader and terrain textures from ATS free colormap terrain shader.
(Also SplatMap importer comes with that package)

Progress:
– Partial success: Added code to clamp the RGBA values inside the SplatMap script..atleast no more >1 values
– More success: Created custom editor script for better splatmap importing, works ok so far, mixing needs adjusting.. (see image#3)

TODO:
– Add some rocks, trees, grass..

Webplayer:
coming later..

image#2: bigger image (click for fullsize)
terrain_unity3d_test2

image#3: Custom Splat Map Helper in action! (assigned 4 textures to terrain) (click for fullsize)

terrain_splat_map_importer_world_machine_1

Image#4a: World Machine 2.3 Terrain
terrain_world_machine_1(click to view full size)

Image#4b: Same terrain in Unity (seems to be mirrored..)
terrain_unity_world_machine_3(click to view full size)


9 Comments + Add Comment

Leave a comment

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.