Open format · Alpha profile

.hexshader

An open format for procedural shaders and animation.

Package shader source, creative controls, named looks and supporting assets in one portable file. Create in 360 Hextile. Build support into your own app, including a commercial one.

The specification and original tutorial examples are CC0 1.0. No Hextile purchase, format fee, permission request or attribution is required to implement it. Individual shader packages and resources can have their own licenses.

Share the working shader

A .hexshader file is a zip of one Shader package. "hexshader": 1 in shader.json versions the whole package. The same files are a saved revision, the agent workspace and the bundle. A spherical trail can read one prior full frame, up to 2048 × 1024 and 240 frames. That prior frame is not stored in the package.

scene.hexshader
├── shader.json       authored data
├── source.glsl       entry GLSL, hxMain
├── provenance.json   credits and lineage
├── modules/…         GLSL modules
├── resources/…       input PNG bytes
└── originals/…       imported source

Keep motion with the look

A host supplies content time, frame and frame rate. Packages can declare timelines, parameter expressions, modulation and ordered image sequences. A compatible host evaluates each required capability or refuses the package.

vec4 hxMain(in HxFrag hx) {
    float pulse = 0.5 + 0.5 * sin(hx.time);
    return vec4(vec3(pulse), 1.0);
}

See the complete first shader and timed tutorial.

Export a linear EXR still

The Shader Workshop can export a saved native 360 frame as a scene-linear RGBA EXR for exposure and compositing. The file keeps soft coverage and finite light values above display white. A 2048 × 1024 output has source-mode software-render proof; larger output is not yet qualified. This is a 360 Hextile host export, separate from the portable .hexshader package.

Read the still-export steps →

Use it in your own software

The format reference defines the package, shader.json, content hashes and the native shader ABI. It is for independent implementers. The 360 Hextile Shader Workshop is Alpha, and format adoption does not make the desktop app open source or guarantee identical output on every GPU.

Explore real exported examples

The downloadable example zips are format-1 packages. They are CC0 1.0, and the inventory records their exact bytes and package digests. reader.mjs read admits a format-1 package. The format reference separates a malformed package from a host that refuses a valid package as too large.

We use cookies for analytics to understand how visitors use our site. Privacy Policy