Skip to content

Instantly share code, notes, and snippets.

View MaetDol's full-sized avatar

MaetDol MaetDol

  • South Korea
View GitHub Profile
@MaetDol
MaetDol / volumetric-clouds.glsl
Created November 13, 2023 12:35 — forked from dolanor/volumetric-clouds.glsl
Volumetric clouds GLSL webGL
// Created by inigo quilez - iq/2013
// License Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License.
// Volumetric clouds. It performs level of detail (LOD) for faster rendering
float noise( in vec3 x )
{
vec3 p = floor(x);
vec3 f = fract(x);
f = f*f*(3.0-2.0*f);