Skip to content

Commit

Permalink
decoupled webgl properties and buffers from renderable objects and at…
Browse files Browse the repository at this point in the history
…tributes. Scenes and objects no longer coupled to renderers and may be used between multiple renderers.
  • Loading branch information
Fordy committed Jun 23, 2015
1 parent 4b18cf5 commit 4c7239e
Show file tree
Hide file tree
Showing 4 changed files with 205 additions and 93 deletions.
6 changes: 6 additions & 0 deletions examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,12 @@ <h1><a href="http://threejs.org">three.js</a> / examples</h1>
"webgl_multiple_canvases_complex",
"webgl_multiple_canvases_grid",
"webgl_multiple_elements",
"webgl_multiple_renderers",
"webgl_multiple_renderers_horse",
"webgl_multiple_renderers_cubemap",
"webgl_multiple_renderers_buffergeometry_custom_attributes_particles",
"webgl_multiple_renderers_buffergeometry_instancing_dynamic",
"webgl_multiple_renderers_sprites",
"webgl_multiple_views",
"webgl_nearestneighbour",
"webgl_octree",
Expand Down
2 changes: 2 additions & 0 deletions src/renderers/WebGLRenderTarget.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

THREE.WebGLRenderTarget = function ( width, height, options ) {

this.uuid = THREE.Math.generateUUID();

this.width = width;
this.height = height;

Expand Down
Loading

0 comments on commit 4c7239e

Please sign in to comment.