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

[BUG] Particle System not working under Linux (alpha blended shaders) #395

Closed
bidsoft opened this issue Apr 1, 2023 · 3 comments
Closed

Comments

@bidsoft
Copy link

bidsoft commented Apr 1, 2023

First, I want to thank you for providing this great library!!!

I am having issues with the particle systems under Linux; everything works fine under Windows (well, besides the OS itself ;))
The issue seems to arise from shaders when setting them to alpha blend. I tried all possible shaders with two results:

  • for most of the shaders the texture is just pink
  • for some shaders the texture is applied in a very strange way

You can reproduce it with running your mod example on Linux - it does not work there either.

In the meantime I am mocking one of the in-game particle systems - these work flawlessly.

Hope you can help.
Thx

@MSchmoecker
Copy link
Member

This is a Vulkan rendering issue, your Unity project where you build your AssetBundles must be setup to support it.

Go to Project Settings > Player > Other Settings > uncheck Auto Graphics API for Windows and Linux respectively and add Vulkan to the drop down.

@bidsoft
Copy link
Author

bidsoft commented Apr 2, 2023

Thx for your fast response, but it did not change anything.
What I did: unchecked Windows and Linux Auto Graphics API. For Linux there was already Vulkan in the list, but moved it above OpenGL.
Tested with the following shader: Legacy Shaders -> Particles -> Alpha Blend
Am I missing something else?

It seems do be some kind of common issue, as I have seen people in the community complaining that mods (textures) are not working correctly on Linux, but I do not know if these mods use JVL.

@MSchmoecker
Copy link
Member

Closing because this is related to Unity, not Jotunn itself

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