Based on the requirements of the Flare3D’s team, we made a JS library based on Flare’s AS3 API but implemented with WebGL. The idea behind the project was to explore WebGL’s capabilities so WebGL + JS could be a build target for Flare Studio.

We used Typescript as base language to improve code’s quality since we were used to strongly typed languages. The last version of the API is able to load .fz3d files and manages several shader materials (diffuse, specular, normal map, etc) and implements a scene graph, matching with the core Flare’s rendering API.

These are some demos of the API rendering some models (it takes some time to load):

  • Flare3D
  • WebGL