Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove ArrayItem[N] support in GLSL. #144

Open
azul3d-bot opened this issue Mar 6, 2016 · 0 comments
Open

Remove ArrayItem[N] support in GLSL. #144

azul3d-bot opened this issue Mar 6, 2016 · 0 comments

Comments

@azul3d-bot
Copy link

Issue by slimsag
Saturday Jan 17, 2015 at 09:50 GMT
Originally opened as azul3d-legacy/gfx#94


From a long time ago, we have GLSL code that is written like so:

uniform sampler2D Texture0;

In fact, this was done on the premise that some OpenGL version might not support arrays. This isn't true.

This works today:

uniform sampler2D Textures[3];

We should remove the old style in v2.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant