It's a shader mod, for HS2 / AIS MaterialEditor, based on Multi-Masks.shader.
Download the .zipmod file for the latest version on the Release Page, then drag and drop it into your /mods/ folder to finish installation, or use KKManager to install this mod.
Use MaterialEditor to adjust the color and other parameters.
AlbedoMask2 can replace the colors of tint and albedo, instead of blending them, with designated colors. But this option can independently decide whether the tint color is to be replaced or blended. When the value of this option is less than 1.0, the colors indicated by AlbedoMask2 will blend with the tint color instead of replacing it, so there is only the colors on the albedo map are replaced byAlbedo Mask2.
For instance, we add a folder in the scene with shifting its shader to Blake/Multi-Masks, and importing a texture of grid into its Albedo:
We then change its Tint Color to, let us say, deep Cyan (0,1,0.8214285). It shows clearly the effect by blending the albedo texture with the tint.
We assign AlbedoMask2 to a white image. Since AlbedoMask2 replaces by default the colors of the albedo and the tint, the folder shows totally white color (and of course you can change this white color to another one by adjust Mask2_White).
Reduce the value in Mask2_ReplaceTintColor, make it less than 1.0, then you can see the folder shows Cyan color without the albedo. It's because now the white color on Mask2 are blended with the tint, that is white (1,1,1) * deep cyan (0,1,0.8214285) = deep cyan (0,1,0.8214285). Since the albedo has been still replaced, you can't see it.
Bl@ke
Front Page: http://www.blatke.cc
Discord Server: https://discord.gg/nc5pmnf8X3
QQ Chatgroup for Modders: 904857543



