Skip to content

Commit

Permalink
Added floating textures support to WebGLRenderer.
Browse files Browse the repository at this point in the history
Not sure if this should be enabled by default though.
  • Loading branch information
mrdoob committed Apr 21, 2012
1 parent 535848c commit fa5a531
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/renderers/WebGLRenderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -6233,6 +6233,12 @@ THREE.WebGLRenderer = function ( parameters ) {

}

if ( ! gl.getExtension( 'OES_texture_float' ) ) {

console.log( 'THREE.WebGLRenderer: Float textures not supported.' );

}

return gl;

};
Expand Down

0 comments on commit fa5a531

Please sign in to comment.