Skip to content

A browserify transform stream that optimizes your glslify shaders

License

Notifications You must be signed in to change notification settings

glslify/glslify-optimize

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

glslify-optimize experimental

A browserify transform stream that optimizes your glslify shaders using glsl-optimizer, the library used in Unity for mobile shader optimization.

Usage

NPM

Use the glslify-optimize transform after using glslify for it to work correctly:

browserify -t glslify -t glslify-optimize
var browserify = require('browserify')

browserify('index.js')
  .transform('glslify')
  .transform('glslify-optimize')
  .pipe(process.stdout)

License

MIT. See LICENSE.md for details.

About

A browserify transform stream that optimizes your glslify shaders

Resources

License

Stars

Watchers

Forks

Packages

No packages published