{"library":"threeify-glsl-transpiler","type":"library","category":null,"description":"A GLSL-to-JavaScript module transpiler for the threeify ecosystem. Version 2.0.7 offers CLI and configuration-based compilation of raw GLSL files (.glsl, .frag, .vert) into ES modules, with support for #pragma once include guards, watch mode, minification, and optional JavaScript/TypeScript includes. It integrates seamlessly into build pipelines, preserving IDE syntax highlighting and linting for shader source files. Unlike runtime shader compilers, this transpiler generates static JS modules, enabling tree-shaking and optimized bundling. Released under MIT license with TypeScript type definitions included.","language":"javascript","status":"active","version":"2.0.7","tags":["javascript","glsl","compiler","threeify","transpiler","shaders","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install threeify-glsl-transpiler","imports":["import glslCode from './shader.glsl.js';","import { transpileCLI } from 'threeify-glsl-transpiler';","import { transpileFile } from 'threeify-glsl-transpiler';","import type { GlslConfig } from 'threeify-glsl-transpiler';"]},{"cmd":"yarn add threeify-glsl-transpiler","imports":[]},{"cmd":"pnpm add threeify-glsl-transpiler","imports":[]}],"homepage":null,"github":"https://github.com/threeify/threeify-glsl-transpiler","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/threeify-glsl-transpiler","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}