CG programming for non-programmers, lesson 26

Once again, small changes to evoke nature can produce a very large impact on the visual result. In lesson 26 we make just a slight modification to our fractal texture: We use it to mix together a sky blue and a white cloud cover.

Just as in painting, the choice of color palette is very important. But why take my word for it? Try playing with various values of vec3(RED,GREEN,BLUE) to explore the possibilities.

You can see this lesson by CLICKING HERE.

2 Responses to “CG programming for non-programmers, lesson 26”

  1. J. Peterson says:

    Fun animation by changing the second line in the first for loop:

    vec3 p = vec3(vPos.x+uTime*(1.0/float(n)), vPos.y, z);

  2. admin says:

    Very nice! Check out how I do it in lesson 27.

Leave a Reply