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 shader #include support #105

Closed
IntegratedQuantum opened this issue Sep 24, 2023 · 1 comment
Closed

Add shader #include support #105

IntegratedQuantum opened this issue Sep 24, 2023 · 1 comment
Labels
contributor friendly this issue is limited in scope and/or knowledge of Cubyz internals, good for newcomers engine enhancement a new feature or improvement

Comments

@IntegratedQuantum
Copy link
Member

I've got lots of random functions that I keep copying from one shader to another. #include would be a great help.

Since this is not necessarily supported by all drivers, I would need to implement it myself.
This shouldn't be too hard, since it's essentially just a basic search for "#include ...\n"

A problem might be that there is less autocomplete support. But that's likely not too big of a deal. I could for example give each file the same name as the function they contain.

@IntegratedQuantum IntegratedQuantum added enhancement a new feature or improvement contributor friendly this issue is limited in scope and/or knowledge of Cubyz internals, good for newcomers engine labels Sep 24, 2023
@IntegratedQuantum IntegratedQuantum added this to the Long-Term Goals milestone Mar 31, 2024
@IntegratedQuantum
Copy link
Member Author

Since the removal of voxel models this is not really a big issue anymore. Furthermore it would conflict with #303.

@IntegratedQuantum IntegratedQuantum closed this as not planned Won't fix, can't repro, duplicate, stale Nov 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contributor friendly this issue is limited in scope and/or knowledge of Cubyz internals, good for newcomers engine enhancement a new feature or improvement
Projects
None yet
Development

No branches or pull requests

1 participant