Closed lvisei closed 1 month ago
WebGL1 使用 gl.LUMINANCE 报错,from https://github.com/antvis/L7/blob/beta/packages/layers/src/raster/models/raster.ts#L97
createTexture2D({ data: new Float32Array(data), width, height, /** * WebGL1 allow the combination of gl.LUMINANCE & gl.FLOAT with OES_texture_float */ format: queryVerdorInfo() === 'WebGL1' ? gl.LUMINANCE : gl.RED, type: gl.FLOAT, alignment: 1, });
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿 Title: Problem using createTexture2D format gl.LUMINANCE
Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿
Title: Problem using createTexture2D format gl.LUMINANCE
WebGL1 使用 gl.LUMINANCE 报错,from https://github.com/antvis/L7/blob/beta/packages/layers/src/raster/models/raster.ts#L97