mrk-its / bevy_webgl2

WebGL2 renderer plugin for Bevy game engine
MIT License
172 stars 46 forks source link

fixing some texture formats #36

Closed mockersf closed 3 years ago

mockersf commented 3 years ago

While trying to use an r8 texture, nothing was displayed.

this PR fixes some of the issue I found looking at https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.6, and makes my R8Unorm texture work