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

Possibility to create 1D textures #808

Open
tcdude opened this issue Aug 10, 2023 · 0 comments
Open

Possibility to create 1D textures #808

tcdude opened this issue Aug 10, 2023 · 0 comments

Comments

@tcdude
Copy link
Contributor

tcdude commented Aug 10, 2023

Is your feature request related to a problem? Please describe.
It would be nice to create 1D textures that can be used in glsl shaders using sampler1D

Describe the solution you'd like
Adding new init function(s) to graphics4+5/texture.h to initialize 1D textures.

Describe alternatives you've considered
I can work around it by using a 2D texture with a height of 1 and do lookups in the shader using the respective declarations and calls.

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