The book of shaders 记录
shader 语言
uniform (统一值)
uniform vec2 u_resolution; // 画布尺寸(宽,高)
uniform vec2 u_mouse; // 鼠标位置(在屏幕上哪个像素)
uniform float u_time; // 时间(加载后的秒数)gl_FragCoord
算法绘画
造型函数
颜色
Patterns 图案
Last updated
