-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
Templated render stages #1177
Templated render stages #1177
Conversation
e083854
to
1b5fdb4
Compare
1b5fdb4
to
ac3730c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really nice :)
It will make work on renderer a lot easier
I tested it in desktop mode and everything works perfectly, we just need to test in VR now. |
I had a crash with this message, but it seems tricky to reproduce and it's possible that it's unrelated:
|
Other than this it works well in desktop mode, everything renders correctly. |
yeah definitely unrelated, looks like maybe ktx corruption. this was just purely refactoring how we pass around some objects, basically if lighting and effects are working then it’s all good! thank you for testing |
I will test it in VR and then I think it will be safe to merge |
Works perfectly in VR too :) |
we have a lot of XXXXStage classes, which are responsible for passing data from various places to the various tasks that actually render different effects (like the skybox, bloom, AO, etc.). as we've added more, they've gotten a bit out of control, and it's cumbersome to add more. the classes were all very similar, so I've created some templated classes in Stage.h to deduplicate a lot of code.