Skip to content

superguigui/Wagner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wagner-common

Fork of spite/Wagner in commonjs for browserify and glslify. The Passes are not all available yet i'm porting them as I need them, PR welcome (it's fairly easy to port).

demo

Installation

npm install @superguigui/wagner glslify three --save

Usage

var THREE = require('three');
var WAGNER = require('@superguigui/wagner');
var BloomPass = require('@superguigui/wagner/src/passes/bloom/MultiPassBloomPass');

// ...

var composer = new WAGNER.Composer(renderer);
var bloomPass = new BloomPass({
  blurAmount: 2,
  applyZoomBlur: true
});

// ...

renderer.autoClearColor = true;
composer.reset();
composer.render(scene, camera);
composer.pass(bloomPass);
composer.toScreen();

About

Effects composer for three.js

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 55.7%
  • GLSL 43.9%
  • HTML 0.4%