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

Request: Support for read+write variable pairs #139

Open
Asmageddon opened this issue Apr 17, 2023 · 2 comments
Open

Request: Support for read+write variable pairs #139

Asmageddon opened this issue Apr 17, 2023 · 2 comments

Comments

@Asmageddon
Copy link

Even if it were to be something unwieldy like separate buffer0_in and buffer0_out variables, I would very, very much so like to request that. For both textures and other data types.

@AntonPieper
Copy link
Contributor

What exactly do you mean by that?

Something like this?

uniform sampler2D backbuffer; // [bind = fragColor]
uniform sampler2D backbuffer2; // [bind = somethingElse]

out vec4 fragColor; // [output]
out vec2 somethingElse;

Or are you asking for a feature like ShaderToy's passes?

@Asmageddon
Copy link
Author

Yes, exactly. Something that allows the transfer of information from one frame to the next.

Multiple passes would also be great to have, but that's not my current request.

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

2 participants