-
Notifications
You must be signed in to change notification settings - Fork 14
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
GLSL compilation failed for shader Stereo3D Screen Quad #4
Comments
Hi! I need look into the problem as I not try it on Linux else :)
…On Sun, Nov 13, 2022 at 3:57 AM D1vt ***@***.***> wrote:
Hi! I was able to run the code successfully on Unity for Windows. However,
now I need to create some Unity scenes in Linux and when I import the
package I get the error: [18:52:52] GLSL compilation failed for shader
Stereo3D Screen Quad 0:31(38) error duplicate storage qualifier and the
whole screen turns light purple (exactly as when a material is missing). I
am using Unity 2019.4.40f1
Any solution to that?
—
Reply to this email directly, view it on GitHub
<#4>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AR7YEBATUNNU32JEPOO7XDDWH7K63ANCNFSM6AAAAAAR6NO2L4>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***
com>
|
So I got a bit deeper into that, even in Windows if I change the Direct3D11 in the Players settings to Vulkan I get the same error again as the shader is not recognized. So it is not a linux problem but instead, the shader in this form is available only for the Direct3D11 and not in Vulkan/OpenGL etc. Is there any case to rewrite or help me rewrite the shader for Vulkan or OpenGL? |
Ok I'll test it and rewrite in nearest future) |
Hi! OK I rewrote the shader and code for other 3D API (DX12, Vulkan, GLCore, GLES3 tested). Problem was that other API's are not work with complex structuredBuffer and .blit not work in GLCore and GLES3. I separated vertex position and UV data to two buffers and replace .blit with drawProcedural and all 5 API's working OK (tested on Windows10 Unity 2021) except deprecated GLES2. |
Hi! I was able to run the code successfully on Unity for Windows. However, now I need to create some Unity scenes in Linux and when I import the package I get the error: [18:52:52] GLSL compilation failed for shader Stereo3D Screen Quad 0:31(38) error duplicate storage qualifier and the whole screen turns light purple (exactly as when a material is missing). I am using Unity 2019.4.40f1
Any solution to that?
The text was updated successfully, but these errors were encountered: