I would like to get a WM splatmap into the CryEngine. Now, the CE doesn’t use weight-blended materials for terrain layers, just a simple on/off flag per pixel. Which means I would have to convert the output of the Splatmap converter like the following
For every channel, output 1 if the channel contains the maximum value of all four channels, zero otherwise.
I have looked through the available devices but didn’t come up with an idea on how to achieve this. Anybody else have a solution?