Skip to content

Instantly share code, notes, and snippets.

View lilieming's full-sized avatar

leon lilieming

  • hangzhou
View GitHub Profile
@lilieming
lilieming / GPUOptimizationForGameDev.md
Created November 26, 2020 07:09 — forked from silvesthu/GPUOptimizationForGameDev.md
GPU Optimization for GameDev
@lilieming
lilieming / WebGL-frameworks-libraries.md
Created April 28, 2020 02:55 — forked from dmnsgn/WebGL-WebGPU-frameworks-libraries.md
A collection of WebGL frameworks and libraries

A non-exhaustive list of WebGL frameworks and libraries. It is mostly for learning purposes as some of the libraries listed are outdated/not maintained anymore.

Engines and libraries

  • three.js: JavaScript 3D library
  • stack.gl: an open software ecosystem for WebGL, built on top of browserify and npm.
  • PixiJS: Super fast HTML 5 2D rendering engine that uses webGL with canvas fallback
  • Pex: Pex is a javascript 3d library / engine allowing for seamless development between Plask and WebGL in the browser.
  • Babylon.js: a complete JavaScript framework for building 3D games with HTML 5 and WebGL
  • Filament: Filament is a real-time physically based rendering engine for Android, iOS, Windows, Linux, macOS and WASM/WebGL
  • ClayGL: A WebGL graphic library helping you to
@lilieming
lilieming / GLSL-Noise.md
Created August 12, 2019 06:26 — forked from patriciogonzalezvivo/GLSL-Noise.md
GLSL Noise Algorithms

Generic 1,2,3 Noise

float rand(float n){return fract(sin(n) * 43758.5453123);}

float noise(float p){
	float fl = floor(p);
  float fc = fract(p);
	return mix(rand(fl), rand(fl + 1.0), fc);
}