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

Implement render phases interface #492

Open
Xottab-DUTY opened this issue Oct 12, 2019 · 0 comments
Open

Implement render phases interface #492

Xottab-DUTY opened this issue Oct 12, 2019 · 0 comments
Assignees
Labels
Enhancement Modmaker Experience Modmaker experience with OpenXRay Renderer

Comments

@Xottab-DUTY
Copy link
Member

Xottab-DUTY commented Oct 12, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement Modmaker Experience Modmaker experience with OpenXRay Renderer
Projects
Status: To do
Development

No branches or pull requests

1 participant