Skip to content

Commit

Permalink
fix: 修复webgl 扩展兼容问题
Browse files Browse the repository at this point in the history
  • Loading branch information
lzxue committed Dec 8, 2019
1 parent 2d19ead commit cd6f5fc
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/renderer/src/regl/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit cd6f5fc

Please sign in to comment.