fix: 修复webgl 扩展兼容问题

This commit is contained in:
thinkinggis 2019-12-08 12:49:42 +08:00
parent 09113f7148
commit 9834e32d09
1 changed files with 5 additions and 5 deletions

View File

@ -53,14 +53,14 @@ export default class ReglRendererService implements IRendererService {
extensions: [
'OES_element_index_uint',
// 'EXT_shader_texture_lod', // IBL 兼容性问题
// 'OES_standard_derivatives', // wireframe
'OES_texture_float', // shadow map
// 'WEBGL_depth_texture',
'OES_standard_derivatives', // wireframe
// 'OES_texture_float', // shadow map 兼容性问题
'WEBGL_depth_texture',
'angle_instanced_arrays',
// 'EXT_texture_filter_anisotropic', // VSM shadow map
'EXT_texture_filter_anisotropic', // VSM shadow map
],
// optionalExtensions: ['oes_texture_float_linear'],
// profile: true,
profile: true,
onDone: (err: Error | null, r?: regl.Regl | undefined): void => {
if (err || !r) {
reject(err);