mx_noise_vec4
A procedural RGBA noise generator where the Alpha channel pattern is independent of the RGB color channels, designed specifically for creating effects with transparency.
Core Advantages
Provides a one-stop solution for generating a complete RGBA texture where the Alpha pattern is automatically decoupled from the RGB channels, making it ideal for creating realistic volumetric effects like smoke and clouds without manual setup.
Common Uses
Creating procedural volumetric effects like smoke, clouds, and fire
Generating procedural decals with soft edges (e.g., moss, rust)
Making dynamic, semi-transparent energy or magic effects
How to adjust
Adjustment is similar to `mx_noise_vec3`, but `amplitude` and `pivot` affect all four channels simultaneously. Its core feature is the automatically separated noise pattern for the Alpha channel. The most critical step to see the transparency effect is to set `transparent={true}` on the material.
Code Examples
1// Generates a full RGBA color with an independent Alpha pattern
2const rgbaNoise = mx_noise_vec4( uv().mul(4), 0.5, 0.5 );