Skip to content

Atma-project/Wagner

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wagner-common

Fork of superguigui/Wagner in commonjs for webpack.

demo

Installation

npm install @alex_toudic/wagner three --save

Usage

var THREE = require('three');
var WAGNER = require('@alex_toudic/wagner');
var BloomPass = require('@alex_toudic/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.6%
  • GLSL 43.9%
  • HTML 0.5%