elyctech / web-gill

Gill is a WebGL-based rendering utility.
MIT License
0 stars 0 forks source link

Support Textures #27

Open dawsonc623 opened 7 years ago

dawsonc623 commented 7 years ago

Currently, there is no support for textures, nor is there an implementation plan, yet. This issue will require some more thought before it can go anywhere.

dawsonc623 commented 6 years ago

Some support for textures has been added, but it is rough. There are a number of properties related to textures that depend very much on the texture itself. Unfortunately, those properties are WebGL constants, which cannot be accessed without a context handy. Forcing the user to grab a context for that purpose sort of defeats the purpose of Gill.

The STATIC_DRAW versus DYNAMIC_DRAW problem is another example of this, but that is outside the scope of this issue.