|
@@ -1416,7 +1416,7 @@ class WebGLRenderer {
|
|
|
|
|
|
_transmissionRenderTarget = new WebGLRenderTarget( 1, 1, {
|
|
|
generateMipmaps: true,
|
|
|
- type: extensions.has( 'EXT_color_buffer_half_float' ) ? HalfFloatType : UnsignedByteType,
|
|
|
+ type: ( extensions.has( 'EXT_color_buffer_half_float' ) || extensions.has( 'EXT_color_buffer_float' ) ) ? HalfFloatType : UnsignedByteType,
|
|
|
minFilter: LinearMipmapLinearFilter,
|
|
|
samples: 4
|
|
|
} );
|
|
@@ -2294,7 +2294,7 @@ class WebGLRenderer {
|
|
|
|
|
|
}
|
|
|
|
|
|
- const halfFloatSupportedByExt = ( textureType === HalfFloatType ) && ( extensions.has( 'EXT_color_buffer_half_float' ) || ( extensions.has( 'EXT_color_buffer_float' ) ) );
|
|
|
+ const halfFloatSupportedByExt = ( textureType === HalfFloatType ) && ( extensions.has( 'EXT_color_buffer_half_float' ) || extensions.has( 'EXT_color_buffer_float' ) );
|
|
|
|
|
|
if ( textureType !== UnsignedByteType && utils.convert( textureType ) !== _gl.getParameter( _gl.IMPLEMENTATION_COLOR_READ_TYPE ) && // Edge and Chrome Mac < 52 (#9513)
|
|
|
textureType !== FloatType && ! halfFloatSupportedByExt ) {
|