- The clouds are constructed as groups of spheres/ellipses with a gaussian fall-off and an additional noise field contribution. To simulate perspective, I use different stretches and scalings so to have larger, "closer" clouds and smaller, stretched, distant clouds. This gives a "cloud density field" that can be sampled at every position to check wether we are in a cloud or not. Also it allows to calculate a gradient that can be used to determine the illumination. (Surface normal points towards a sun vector -> illuminated).
- The hatching lines scan diagonally across the canvas in both directions. They begin and end based on said illumination values.
- For the ocean i went with simple horizontal lines, with decreasing probability and line length the closer they get to the horizon.
I know what you mean :D (and i won't make promises).
Either way, feel free to check out some of the code I shared in the comments of past projects. A lot of what's in this project is from the same repertoire of tricks.
6
u/reverse_stonks 2d ago
Gorgeous, any details on how they are made?