-
Notifications
You must be signed in to change notification settings - Fork 140
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
Push:finish() Shader Processing After window resize or fullscreen mode #22
Comments
due to the problem |
Hello, sorry for the delay. I haven’t looked into this yet, but have you tried updating the screen dimensions inside your shader? Something such as |
No worries, please see attached a full demo of the bug. |
O changing the game mode, all the loaded into GPU shaders are erased. I do not see it as a problem. I think it might be noted in the readme or something. I'm staying with a modded old version of push. |
Issue: When you resize the window and apply a table of shaders to push using the push:finish(shaders) the first shader in the table is offset on screen in the incorrect position. Subsequent shaders in the table are processed in the correct position.
Created a scenario where I have a shader create a circle at a predefined pos. I made a table of copies of this one shader object and passed it to push:finish(). First is offset, subseuqent are applied in the same position. Problem goes away if you return screen to original non-resized position.
Problem does not exist if you are not in full screen mode or the window has not be resized.
The text was updated successfully, but these errors were encountered: