Skip to content

Commit

Permalink
Added capture code to lava example
Browse files Browse the repository at this point in the history
  • Loading branch information
jbaicoianu committed Feb 18, 2016
1 parent 9ec08c2 commit 7223576
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions examples/threejs_webgl_shader_lava.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@

#oldie a { color:#da0 }
</style>
<link rel="stylesheet" type="text/css" href="../css/threecapui.css" />
</head>
<body>

Expand All @@ -51,6 +52,7 @@

<script src="http://threejs.org/examples/js/Detector.js"></script>
<script src="http://threejs.org/examples/js/libs/stats.min.js"></script>
<script src="../build/threecap.js"></script>

<script id="fragmentShader" type="x-shader/x-fragment">

Expand Down Expand Up @@ -208,6 +210,9 @@
composer.addPass( effectBloom );
composer.addPass( effectFilm );

var capture = new THREEcap({composer: composer, scriptbase: '../build/'});
var captureui = new THREEcapUI(capture);

//

onWindowResize();
Expand Down

0 comments on commit 7223576

Please sign in to comment.