gre/gl-react

EXGL: ndarray textures bug

Open

#108 opened on May 12, 2017

View on GitHub
 (1 comment) (0 reactions) (0 assignees)TypeScript (160 forks)github user discovery
bughelp wanted

Repository metrics

Stars
 (3,000 stars)
PR merge metrics
 (PR metrics pending)

Description

Steps to reproduce the behavior

open the colorscale example in cookbook-expo, select for instead heatmap compare with https://gl-react-cookbook.surge.sh/colorscale . result is totally different..

i'll investigate on a smaller code to reproduce the bug, but basically something is wrong in the texImage2D when sending a typed array.. we need to see if the diff options are supported correctly (gl.ALPHA, gl.LUMINANCE_ALPHA, gl.RGB, gl.RGBA) but it might be something around that

Contributor guide