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 a method in RenderingServer to change the rendering pipelines. #8744

Closed
RadiantUwU opened this issue Dec 29, 2023 · 4 comments
Closed

Comments

@RadiantUwU
Copy link

Describe the project you are working on

Raytracing plugin implementation

Describe the problem or limitation you are having in your project

Being completely unable to change the pipeline without editing the game engine itself.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

This would allow the modification of the 3D rendering pipeline to allow to implement raytracing, path tracing, maybe even voxel based rendering.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

void RenderingServer.change_rendering_pipeline(int idx, RID pipeline)

If this enhancement will not be used often, can it be worked around with a few lines of script?

No.

Is there a reason why this should be core and not an add-on in the asset library?

This requires modification to the game engine.

@AThousandShips
Copy link
Member

What is the index here? Which pipeline is being replaced?

@RadiantUwU
Copy link
Author

What is the index here? Which pipeline is being replaced?

The fragment/light pipelines.

@AThousandShips
Copy link
Member

Those aren't indexed in ant way I know, please elaborate

@Calinou
Copy link
Member

Calinou commented Dec 29, 2023

Thanks for the proposal! Consolidating in #4287 and #7916.

Regarding raytracing support, it's planned to expose raytracing extensions (Vulkan raytracing/DXR) at some point in RenderingDevice. See also #5162.

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

3 participants