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

Add a component mixer camera component for rudimentary color grading #555

Open
marceline-cramer opened this issue Jul 1, 2023 · 2 comments
Labels
topic:api API functionality, including both host and guest topic:rendering Rendering architecture and implementation

Comments

@marceline-cramer
Copy link
Contributor

I'd like to be able to attach a Mat3 component named component_mixer (or something along those lines) to a camera entity to apply color grading to it. The matrix just takes the RGB components of the framebuffer as input during the compositing step of the render pipeline and outputs processed RGB data. Using this, one can lighten and darken, desaturate and saturate, and tint the resulting image, which I plan to use to enhance the look and atmosphere of day and night cycles or different meteorological states of Flowerpot's outdoor environment.

@marceline-cramer marceline-cramer added topic:api API functionality, including both host and guest topic:rendering Rendering architecture and implementation labels Jul 1, 2023
@marceline-cramer
Copy link
Contributor Author

I think an example that renders a simple scene and a UI with sliders that modify the different component mixer elements would also be a great addition, not only for demonstration but also so that users can interactively experiment with different configurations for matrices.

@marceline-cramer
Copy link
Contributor Author

Here's the UI for doing this operation in Gimp:

20230630_20h49m40s_grim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic:api API functionality, including both host and guest topic:rendering Rendering architecture and implementation
Projects
None yet
Development

No branches or pull requests

1 participant