Method CombineBiomeMask
CombineBiomeMask(RenderTexture, Texture)
Applies a biome-mask adjustment texture onto an existing base biome mask in place.
public static void CombineBiomeMask(RenderTexture baseMask, Texture adjustmentTex)
Parameters
baseMaskRenderTextureThe destination biome mask to modify. The texture must already exist and be writable because the final result is drawn back into this render target.
adjustmentTexTextureThe adjustment texture to blend with the base mask. This is typically created from biomeMaskAdjustments.
Remarks
The method first copies baseMask into a temporary render texture, then runs the hidden
combine shader with both the original mask copy and the adjustment texture bound as inputs. This avoids reading
from and writing to the same render target in one pass. Temporary resources created by the method are released
before it returns.