Skip to content

webgl2 emulator for node using native opengles3 window

License

Notifications You must be signed in to change notification settings

core3d-inc/node-gles3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-gles3

A native (fast) WebGL2 emulator for node using native opengles3 windows, on OSX, Windows, and Linux.

The library also includes bindings to OpenVR for desktop VR support.

git clone https://github.com/worldmaking/node-gles3.git
npm install

Why?

It's great to be able to port webgl2 code mostly unchanged to a native desktop context, where other non-browser features become available. This was important for us, for example, in overcoming bandwidth issues between C/C++ simulation and sensor code (which we now run in native Node.js modules) and webgl rendering.

Status

Most of the WebGL2 API is covered already, and any gaps found can be addressed.

Several examples included demonstrate instanced multi-windows, rendering, distance-field fonts, VR, etc.

The windowing API is tied to GLFW currently, but may be abstracted further.

An effort is underway to see if libraries such as Three.js can run on this.

Used by

About

webgl2 emulator for node using native opengles3 window

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 47.9%
  • C++ 37.5%
  • JavaScript 11.1%
  • C# 2.3%
  • GLSL 0.9%
  • Python 0.2%
  • CMake 0.1%