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

Sneaky bug w/ attribute caching it seems #5

Open
mattdesl opened this issue May 9, 2015 · 2 comments
Open

Sneaky bug w/ attribute caching it seems #5

mattdesl opened this issue May 9, 2015 · 2 comments

Comments

@mattdesl
Copy link
Member

mattdesl commented May 9, 2015

Getting weird results on the first frame of rendering using a typical setup with gl-geometry + gl-shader and some attributes for position, normal. The first frame gl-geometry sets up the attribute locations accordingly, but it isn't until the second frame that they seem to "kick in." This is a problem for GL apps that only need to be run once (e.g. render scene to texture).

Will keep poking around.

@mattdesl
Copy link
Member Author

mattdesl commented May 9, 2015

reproducible with the bunny walkthrough:
https://github.com/stackgl/bunny-walkthrough/tree/visualize-gl-shader-err

@mikolalysenko
Copy link
Member

Hmm.. That is problematic. I'll take a look at it tomorrow, a bit swamped right now.

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

No branches or pull requests

2 participants