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

Support room transitions #15

Closed
tzachshabtay opened this issue Oct 8, 2015 · 1 comment
Closed

Support room transitions #15

tzachshabtay opened this issue Oct 8, 2015 · 1 comment

Comments

@tzachshabtay
Copy link
Owner

No description provided.

@tzachshabtay
Copy link
Owner Author

tzachshabtay commented May 5, 2016

Proposed Algorithm:

  1. player.ChangeRoom

Iteration 1
2. Render new scene to Back buffer to texture
3. Copy front buffer to back buffer
4. Assign texture to transition shader

Iteration 2-n
5. Apply transition shader on texture without rendering scene, with time parameter
6. Until time is completed, then unbind shader & texture

Iteration n+1
7. Render new scene as normal

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