File Formats Specifications

Container

Contains multiple other resources.

{
   "header": "<HEADER>",
   "resources": [
   ]
}

Scene

{
   "header": "<HEADER>"
}

Profile

{
   "header": "<HEADER>"
   "id": "ultra-high"
}

Texture

{
   "header": "<HEADER>"
   "id": "big-sword",
   "variants": [
      {
         "profile": "ultra-high",
         "uri": "file:textures/ultra-high/big-sword.tga"
      },
      {
         "profile": "bleeding-edge",
         "uri": "https://cdn.r8.rs/textures/bleeding-edge/big-sword.tga"
      },
      {
         "profile":"default",
         "uri": "file:textures/basic.png"
      }
   ]
}

Shader

{
   "header": "<HEADER>"
   "id": "basic",
   "variants": [
      {
         "id": "basic",
         "profile": "ultra-high",
         "vertex-shader": {
            "uri": "file:shaders/glsl/basic.vert"
         },
         "fragment-shader": {
            "uri": "file:shaders/glsl/basic.frag"
         }
      }
   ]
}