Comments

Log in with itch.io to leave a comment.

Hi, is it possible to change the alpha/opacity of the clouds in shader #2 (pixelated clouds)?

Hey! Yes definitely - you can modify this line in the "shd_clouds_pixel" shader:

gl_FragColor = vec4(cloud_color, (cloud_dnsty <= 0.2 ? 0.0 : 1.0));

The "1.0" is the alpha component, so you can change that to be between 0.0 and 1.0 to control the alpha

Perfect, thanks!