|
@@ -455,6 +455,7 @@ var BABYLON;
|
|
this._caps.highPrecisionShaderSupported = true;
|
|
this._caps.highPrecisionShaderSupported = true;
|
|
this._caps.drawBuffersExtension = this._gl.getExtension('WEBGL_draw_buffers');
|
|
this._caps.drawBuffersExtension = this._gl.getExtension('WEBGL_draw_buffers');
|
|
this._caps.textureFloatLinearFiltering = this._gl.getExtension('OES_texture_float_linear');
|
|
this._caps.textureFloatLinearFiltering = this._gl.getExtension('OES_texture_float_linear');
|
|
|
|
+ this._caps.textureLOD = this._gl.getExtension('EXT_shader_texture_lod');
|
|
if (this._gl.getShaderPrecisionFormat) {
|
|
if (this._gl.getShaderPrecisionFormat) {
|
|
var highp = this._gl.getShaderPrecisionFormat(this._gl.FRAGMENT_SHADER, this._gl.HIGH_FLOAT);
|
|
var highp = this._gl.getShaderPrecisionFormat(this._gl.FRAGMENT_SHADER, this._gl.HIGH_FLOAT);
|
|
this._caps.highPrecisionShaderSupported = highp.precision !== 0;
|
|
this._caps.highPrecisionShaderSupported = highp.precision !== 0;
|