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

Fix shader loading #26

Merged
merged 1 commit into from
Nov 8, 2024
Merged

Fix shader loading #26

merged 1 commit into from
Nov 8, 2024

Conversation

Nazfib
Copy link

@Nazfib Nazfib commented Nov 8, 2024

Fixes two issues:

  • Load the Linux shader assetbundle instead of the OSX version on Linux
  • The new assetbundle from Deferred fixes/improvements #24 contain files other than the shaders - both intended (the new .cginc files), and a few unintended ones (in a folder named b9, there are .obj and .mat files). For the former, fix the exception that occured when trying to load those files as shaders. For the latter, the assetbundles should be recompiled without those files.

Fixes two issues:
- Load the Linux shader assetbundle instead of the OSX version on Linux
- The new assetbundle from #24 contain files other than the shaders -
  both intended (the new .cginc files), and a few unintended ones (in a
  folder named b9, there are .obj and .mat files). For the former, fix
  the exception that occured when trying to load those files as shaders.
  For the latter, the assetbundles should be recompiled without those
  files.
@Nazfib Nazfib changed the title Fix shader loading on Linux Fix shader loading Nov 8, 2024
@siimav siimav merged commit a63ab26 into master Nov 8, 2024
3 checks passed
@siimav siimav deleted the shader-fix branch November 8, 2024 14:02
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

Successfully merging this pull request may close these issues.

2 participants