#pas2js #pascal #webgl #example #demo #js #javascript #web-gamedev #gamedev #web
|
il y a 7 ans | |
---|---|---|
html | il y a 7 ans | |
.gitignore | il y a 7 ans | |
GLTypes.pas | il y a 7 ans | |
GLUtils.pas | il y a 7 ans | |
Mat4.pas | il y a 7 ans | |
Matrix.pas | il y a 7 ans | |
MemoryBuffer.pas | il y a 7 ans | |
Noise.pas | il y a 7 ans | |
Pas2JS_WebGL.js | il y a 7 ans | |
Pas2JS_WebGL.pas | il y a 7 ans | |
Pas2JS_WebGL.sublime-project | il y a 7 ans | |
Pas2JS_WebGL.sublime-workspace | il y a 7 ans | |
Pas2JS_WebGL_Minimal.js | il y a 7 ans | |
Pas2JS_WebGL_Minimal.pas | il y a 7 ans | |
Pas2JS_WebGL_OBJ.js | il y a 7 ans | |
Pas2JS_WebGL_OBJ.pas | il y a 7 ans | |
Pas2JS_WebGL_Terrain.js | il y a 7 ans | |
Pas2JS_WebGL_Terrain.pas | il y a 7 ans | |
README.md | il y a 7 ans | |
Terrain.pas | il y a 7 ans | |
webgl2.pas | il y a 7 ans |
WebGL demo with Pas2JS
Most basics of WebGL:
Most basic example possible:
Interleaved vertex data:
OBJ Loader with lighting:
Terrain generation using Perlin noise (NOTE: can't be viewed online currently until I figure out the image loading security issue):