A Broccoli plugin that transpiles WebGL/GLSL source files into JavaScript strings. Version 0.0.1 is the initial and only release. As a minimal plugin, it simply compiles GLSL files into exported JS strings and renames them from `.glsl` to `.js`. It does not handle shader attachment or compilation at runtime. Compared to alternatives like `ember-cli-webgl`, it is lower-level and lacks Ember-specific integration. The project appears to be early-stage with limited adoption.
npm install broccoli-webgl-transpilerNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic usage of broccoli-webgl-transpiler with a Broccoli tree.
Use higher-level library like ember-cli-webgl for automated shader compilation.
Switch to actively maintained Broccoli plugin for GLSL.
const WebGLTranspiler = require('broccoli-webgl-transpiler').default;Use broccoli.source or similar to create a tree from directory.