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

Demos/skybox.scn : not working #5235

Open
hugtalbot opened this issue Jan 22, 2025 · 1 comment
Open

Demos/skybox.scn : not working #5235

hugtalbot opened this issue Jan 22, 2025 · 1 comment
Labels
issue: bug (minor) Bug affecting only some users or with no major impact on the framework

Comments

@hugtalbot
Copy link
Contributor

While working on cleaning scene warnings in #5183, I noticed that the skybox.scn example is not working anymore

@hugtalbot hugtalbot added the issue: bug (minor) Bug affecting only some users or with no major impact on the framework label Jan 22, 2025
@hugtalbot hugtalbot changed the title Demos/skybox.scn : NOT working Demos/skybox.scn : not working Jan 22, 2025
@hugtalbot
Copy link
Contributor Author

Error thrown:

[ERROR]   [GLSLShader] ERROR: Compilation of Fragment shader failed:
[ERROR]   [GLSLShader] From File: /data/Softwares/sofa/src/master/share/shaders/skybox.frag
[ERROR]   [GLSLShader] 0:4(1): error: `in' qualifier in declaration of `TexCoords' only valid for function parameters in GLSL 1.20

[ERROR]   [GLSLShader] ERROR: Compilation of Vertex shader failed:
[ERROR]   [GLSLShader] From File: /data/Softwares/sofa/src/master/share/shaders/skybox.vert
[ERROR]   [GLSLShader] 0:4(1): error: `out' qualifier in declaration of `TexCoords' only valid for function parameters in GLSL 1.20

[ERROR]   [GLSLShader] SHADER compilation failed.
[ERROR]   [OglFloat3Attribute(restPosition)] Variable "restPosition" NOT FOUND in shader "[ 'shaders/skybox.vert' ]"
[ERROR]   [OglFloat3Attribute(restNormal)] Variable "restNormal" NOT FOUND in shader "[ 'shaders/skybox.vert' ]"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
issue: bug (minor) Bug affecting only some users or with no major impact on the framework
Projects
None yet
Development

No branches or pull requests

1 participant