Generation tools, such as:
World Machine templates for this article:
The templates are designed to assist you in creating various map-wide content. They are as they are - merely a template. What the templates can do for you:
The actual work is still up to you, including:
This template is not magic and it still requires you to understand what it can do for you. The template is practically worthless if you have the basic edition of World Machine - you could at most generate a light and ambient occlusion map for maps up to 10x10 reliably.
World machine file: workflow-3026.tmd
Supports the following features:
All normal maps are automatically converted to the green-looking normal map format that Supreme Commander expects for its decals.
Overview of the 3026 version
World machine file: workflow-4016.tmd
Overview of the 4016 version
World Machine has an interesting interpretation of raw files. Instead of dynamically determining of a raw file is 8 or 16 bits it looks at its extension. A .raw file is considered to be 8 bits where as a .r16 raw file is considered to be 16 bits.
When you export the heightmap from any editing tool you'll have a .raw file. However, its contents are encoded in 16 bits. Therefore make sure to rename it to .r16 - otherwise World Machine will not be able to understand the raw file in question.
For a light map you can use a resolution that is the same resolution of the heightmap. That will produce sufficient results. You can view a comparison for a 20x20 (1024 heightmap resolution) map at:
For a normal map you need to use a resolution that is at least eight times the resolution of the heightmap. Anything lower will produce blurred and insignificant results.
It may appear interesting to erode your heightmap too much. This can and will cause issues in the long run where the normal map is no longer in sync with the heightmap in question. Therefore use erosion at your own risk.
World Machine tends to be memory hungry when generating its content. It can help a lot to do your final build in tiles. This significantly reduces the memory consumption of World Machine without affecting the end result. You can read more about it in Chapter 10 of the World Machine User Guide starting at page 70:
This is a professional feature and is therefore not available to everyone.
Whenever you use normal maps make sure that their axis are correctly represented. In the case of map-wide normal maps we need to flip the y-coordinate. This is done in the normal conversion node itself.
A selection of the 5th Nomad Mission without (top) and with (bottom) these techniques applied
A selection of Adaptive Skadi without (top) and with (bottom) the normal map technique applied
A selection of Salt and Pepper without (top) and with (bottom) the normal map technique applied
If you have interesting sources, approaches, opinions or ideas that aren't listed yet but may be valuable to the article: feel free to leave a message down below or contact me on Discord. The idea is to create a bunch of resources to share our knowledge surrounding various fields of development in Supreme Commander.
If you've used this resource for one of your maps feel free to make a post below: I'd love to know about it!
With thanks to Beherith from the BAR community for the opportunity to have an Q&A for two hours about World Machine
With thanks to @svenni_badbwoi for creating the template for World Machine Mt. Daniel 3026.
With thanks to @Balthazar for various discussions on normal maps and their interpretation in Supreme Commander.
This opens up a new horizon in terms of mapmaking technology. Now every map can have a custom texture map, and not rely on the same old textures. Very exciting stuff!
As an example of what can be achieved with these techniques:
Adaptive Moon by @svenni_badbwoi
Mellow Shallows by myself