Skip to content

violetforest/ccapture.js-glsl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read the CCapture.js readme here

CCapture.js-Glsl

This combines the basic example from CCapture.js and the shader example from Three.js to create a sandbox for recording your shaders. It uses Glslify to neatly separate the GLSL files from the three.js scene, and uses Browserify for the require.

Using the code

Download the packages (browserify, glslify)

npm i

Keep your shaders under the shaders folder & update the uniforms & folder name in shader-scene.js. Compile your changes with:

browserify -t glslify path/to/shader-scene.js -o build/bundle.js

About

A ccapture.js environment to record three.js shaders

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published