8000 GitHub - danilw/getting-over-glsl: Getting Over ... like game, using GLSL and WASM
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Nov 9, 2020. It is now read-only.

danilw/getting-over-glsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Getting Over...GLSL?

what is it this is small game(demo) using wasm and glsl

play live

Building

  1. clone this nanogui wasm
  2. put file from nanogui_mod folder, "glutil.cpp" to nanogui-GLES-wasm and "glutil.h" to nanogui-GLES-wasm/include/nanogui
  3. build nanovg.bc and nanogui.bc in nanogui-GLES-wasm and move them to this project
  4. build this project getting-over-glsl using this command
em++ -DNANOVG_GLES3_IMPLEMENTATION -DGLFW_INCLUDE_ES3 -DGLFW_INCLUDE_GLEXT -DNANOGUI_LINUX -Iinclude/ -Iext/nanovg/ -Iext/eigen/ nanogui.bc agame2.cpp --std=c++11 -O3 -lGL -lGLU -lm -lGLEW -s USE_GLFW=3 -s FULL_ES3=1 -s USE_WEBGL2=1 -s WASM=1 -s ALLOW_MEMORY_GROWTH=1 -o build/goglsl.html --shell-file shell_minimal.html --no-heap-copy --preload-file  ./textures --preload-file ./shaders

Screenshot

goglsl

About

Getting Over ... like game, using GLSL and WASM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0