|
@@ -329,42 +329,6 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
|
|
|
};
|
|
|
|
|
|
- this.supportsFloatTextures = function () {
|
|
|
-
|
|
|
- return extensions.get( 'OES_texture_float' );
|
|
|
-
|
|
|
- };
|
|
|
-
|
|
|
- this.supportsHalfFloatTextures = function () {
|
|
|
-
|
|
|
- return extensions.get( 'OES_texture_half_float' );
|
|
|
-
|
|
|
- };
|
|
|
-
|
|
|
- this.supportsStandardDerivatives = function () {
|
|
|
-
|
|
|
- return extensions.get( 'OES_standard_derivatives' );
|
|
|
-
|
|
|
- };
|
|
|
-
|
|
|
- this.supportsCompressedTextureS3TC = function () {
|
|
|
-
|
|
|
- return extensions.get( 'WEBGL_compressed_texture_s3tc' );
|
|
|
-
|
|
|
- };
|
|
|
-
|
|
|
- this.supportsCompressedTexturePVRTC = function () {
|
|
|
-
|
|
|
- return extensions.get( 'WEBGL_compressed_texture_pvrtc' );
|
|
|
-
|
|
|
- };
|
|
|
-
|
|
|
- this.supportsBlendMinMax = function () {
|
|
|
-
|
|
|
- return extensions.get( 'EXT_blend_minmax' );
|
|
|
-
|
|
|
- };
|
|
|
-
|
|
|
this.getMaxAnisotropy = ( function () {
|
|
|
|
|
|
var value;
|
|
@@ -4005,6 +3969,48 @@ THREE.WebGLRenderer = function ( parameters ) {
|
|
|
|
|
|
// DEPRECATED
|
|
|
|
|
|
+ this.supportsFloatTextures = function () {
|
|
|
+
|
|
|
+ console.warn( 'THREE.WebGLRenderer: .supportsFloatTextures() is now .extensions.get( \'OES_texture_float\' ).' );
|
|
|
+ return extensions.get( 'OES_texture_float' );
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
+ this.supportsHalfFloatTextures = function () {
|
|
|
+
|
|
|
+ console.warn( 'THREE.WebGLRenderer: .supportsHalfFloatTextures() is now .extensions.get( \'OES_texture_half_float\' ).' );
|
|
|
+ return extensions.get( 'OES_texture_half_float' );
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
+ this.supportsStandardDerivatives = function () {
|
|
|
+
|
|
|
+ console.warn( 'THREE.WebGLRenderer: .supportsStandardDerivatives() is now .extensions.get( \'OES_standard_derivatives\' ).' );
|
|
|
+ return extensions.get( 'OES_standard_derivatives' );
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
+ this.supportsCompressedTextureS3TC = function () {
|
|
|
+
|
|
|
+ console.warn( 'THREE.WebGLRenderer: .supportsCompressedTextureS3TC() is now .extensions.get( \'WEBGL_compressed_texture_s3tc\' ).' );
|
|
|
+ return extensions.get( 'WEBGL_compressed_texture_s3tc' );
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
+ this.supportsCompressedTexturePVRTC = function () {
|
|
|
+
|
|
|
+ console.warn( 'THREE.WebGLRenderer: .supportsCompressedTexturePVRTC() is now .extensions.get( \'WEBGL_compressed_texture_pvrtc\' ).' );
|
|
|
+ return extensions.get( 'WEBGL_compressed_texture_pvrtc' );
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
+ this.supportsBlendMinMax = function () {
|
|
|
+
|
|
|
+ console.warn( 'THREE.WebGLRenderer: .supportsBlendMinMax() is now .extensions.get( \'EXT_blend_minmax\' ).' );
|
|
|
+ return extensions.get( 'EXT_blend_minmax' );
|
|
|
+
|
|
|
+ };
|
|
|
+
|
|
|
this.initMaterial = function () {
|
|
|
|
|
|
console.warn( 'THREE.WebGLRenderer: .initMaterial() has been removed.' );
|