Blog

scene notes

Webgl Scene Notes

模拟星空
使用particles作为星星,默认黑色背景当做星空,加上屏幕大小post处理(使用fbo)来改变星空的颜色,参考wen’s christams_ex_2015

生成terrain
使用heightmap来生成高度,添加fog使用glsl-fog