2
0
Эх сурвалжийг харах

Merge remote-tracking branch 'benaadams/patch-7' into dev

Mr.doob 12 жил өмнө
parent
commit
6956c66e9c

+ 18 - 0
src/renderers/WebGLRenderer.js

@@ -263,6 +263,24 @@ THREE.WebGLRenderer = function ( parameters ) {
 
 
 	};
 	};
 
 
+	this.supportsFloatTextures = function () {
+
+		return _glExtensionTextureFloat;
+
+	};
+	
+	this.supportsStandardDerivatives = function () {
+
+		return _glExtensionStandardDerivatives;
+
+	};
+	
+	this.supportsCompressedTextureS3TC = function () {
+
+		return _glExtensionCompressedTextureS3TC;
+
+	};
+	
 	this.getMaxAnisotropy  = function () {
 	this.getMaxAnisotropy  = function () {
 
 
 		return _maxAnisotropy;
 		return _maxAnisotropy;