Ok, here it is, deconstructed.

- cloud1preview.jpg (7.47 KiB) Viewed 5456 times

First, we'll talk about the intended result: Simple clouds are commonly monochromatic, with a stark value range. However, if we're dealing with unusual light sources or atmospheric effects we'll want it to have multiple hues. They're fluffy, so we'll want something that is heavily layered and scattered at low opacity (this creates a soft texture). Parameters that encourage a circular motion can also help with fluffiness.

- use a color gradient for easier control over the hue change.

- opt for a behavior scheme that constantly creates depth by scattering and alternating hue

Adjusting the parameters:Remember that some of the exact numbers actually used in the brush were basically determined by experimentation, and are somewhat arbitrary (in a relative sense).

1)

Scatter- Start with a simple direction. Pull in ToVec2 node and set input B to -1.00. Think of this as defining your direction, specifically down on the Y axis. Now we just need to create a controlled pattern, then we'll define the magnitude.

- Use length as the stroke parameter to keep the pattern consistent. Multiply it by a big amount, then apply a small value (we'll use 2) modulo function to it. This creates a rapid sawtooth pattern.

If you're interested in why: In the modulo function the number you define is the divisor, the input is the dividend, and the result is the remainder, ignoring the quotient. For instance, for an input of [1,2,3,4]: 1 mod 2 = 1, 2 mod 2 = 0, 3 mod 2 = 1, 4 mod 2 = 0. You'll find that, once you account for continuous input, your function will increase from 0 in a linear fashion to (but will not quite reach) the modulo number. Then it will drop back to 0.- Since our range is [0,2) we just need to floor it to get a function that alternates between two whole numbers. (There is a subtract thrown in, but it's negligible - just playing around originally trying to get the scatter to oscillate around the cursor. Realized I messed up later.) Up to this point the mod function could have been replaced by a sin or frac function to get something similar by the way.

-The rest uses multiplication and addition to get the right result after tampering with the brush settings. Pressure and a bit of randomness are implemented.

2)

Color-Use the same pattern as scatter to then alternate color with position.

3)

Other-Other controllers are for flavor, and are pretty self explanatory.

Using the brush:The color selected at the far left of the gradient will be tucked under the color selected at the far right. Because there is constant overlapping, the direction you layer your strokes matters. It will help build perspective and depth. Shown below:

- cloudsample1.jpg (58.36 KiB) Viewed 5438 times