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 GBuffers in some cultured form #6

Closed
petiaccja opened this issue Jun 9, 2017 · 1 comment
Closed

Add GBuffers in some cultured form #6

petiaccja opened this issue Jun 9, 2017 · 1 comment
Assignees

Comments

@petiaccja
Copy link
Owner

Plan A - the automatized real deal
Throw together a bunch of material shaders with multiple outputs, and the system figures out the ideal layout for the materials' outputs. The forward renderer then creates a gbuffer of such layout, and generates code to write into and read from the gbuffer.

Plan B - the flexible manual way
The gbuffers layout is specified by hand, and an HLSL API is given to materials to #include. Through the API, material shaders can manually access and write the gbuffer.

@petiaccja petiaccja self-assigned this Jun 30, 2017
@petiaccja
Copy link
Owner Author

Pretty much B is implemented now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant