Implement render phases interface
@Xottab-DUTY is already working on this.
Since Oct 13, 2019.
- Dominant language
- C++
- Stars
- 3.6k
- Forks
- 536
- Avg merge
- 6d 1h
- Merged PRs (30d)
- 3
Description
Currently, all phases are located at CRenderTarget class and it is a mess of blenders, shaders, geoms and corresponding phase_* functions!
It is possible to create "render phase" abstraction, which can contain all mentioned things and can have a dependency phases. (eg. phase1 should be executed before phase2)
This class should be exposed to the renderer scripts or something, so that the modders can create new phases without modifying the engine. (but we should decide how modders will be able to implement phase_* function for their new phase)
This will be especially useful for #474, #470 and #122.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.