| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Effects composer for three.js
This is a WIP version of a new proposal for an effect composer for three.js
There's a demo with the latest-ish version of the code here demo. Here's a snapshot to give you an idea of what it can achieve:
Please use it only for review and test purposes. Don't hesitate to add issues or open a conversation about design decisions.
/*
Include the libs
<script src="Wagner.js"></script>
*/
var composer = new WAGNER.Composer( renderer );
composer.setSize( window.innerWidth, window.innerHeight ); // or whatever resolution
var zoomBlurPass = new WAGNER.ZoomBlurPass();
var multiPassBloomPass = new WAGNER.MultiPassBloomPass();
renderer.autoClearColor = true;
composer.reset();
composer.render( scene, camera );
composer.pass( multiPassBloomPass );
composer.pass( zoomBlurPass );
composer.toScreen();Composer following the work of alteredq's THREE.EffectComposer
Most of the shaders are from https://github.com/evanw/glfx.js. Others are from different sources and forums, papers, or my own.
MIT licensed
Copyright (C) 2014 Jaume Sanchez Elias - All shaders are copyright of their respective authors.
I'm trying to trace the original source for some of the common shaders. If your code is featured in the shaders folders, and wish to be correctly credited, or the code removed, please open an issue.
| Back | FazBrowse Home | New Git URL |