elm-community / elm-webgl

Moved to elm-explorations/webgl
http://package.elm-lang.org/packages/elm-explorations/webgl/latest
BSD 3-Clause "New" or "Revised" License
95 stars 22 forks source link

Provide the ability to load a texture without an implicit UNPACK_FLIP_Y_WEBGL #36

Closed 7sharp9 closed 7 years ago

7sharp9 commented 8 years ago

Currently the option UNPACK_FLIP_Y_WEBGL true is always implicit, it would be ice if that an other options could be applied with a version of loadtTextureWithConfig function or similar:

w0rm commented 7 years ago

I've implemented flipY option for the version 2.0, that is set to True by default to not unexpectedly break the existing shaders. I also documented that this happens implicitly by default.

As for the rest options, I don't really know if they are useful, because the only way to create a texture is by loading an image. We need more real use cases.