Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor|Renderer|UI: Post-processing shader applied during view comp…
…osition Instead of having fx::PostProcessing as a lens effect, ViewCompositor now applies the post-processing shader when it blits the game view to the window as one of the layers of the view. This has the benefit that the post-processor doesn't need a separate framebuffer of its own because it can use the existing game view texture and draw directly in the window framebuffer. fx::Resize was also removed because the game view resolution can be trivially changed by resizing the game view texture.
- Loading branch information
Showing
13 changed files
with
186 additions
and
425 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.