AMD card (Radeon HD 6970) - Shader compile error 1
WARNING 17:47:02:150 Editor: RendererException : compile error in: ShaderSource[name=Common/MatDefs/Light/Deferred.frag, defines, type=Fragment, language=GLSL100]
Fragment shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors. No code generated
WARNING 17:49:59:894 Editor: RendererException : compile error in: ShaderSource[name=Common/MatDefs/Light/PBRLighting.frag, defines, type=Fragment, language=GLSL110]
Fragment shader failed to compile with the following errors:
ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context
ERROR: error(#273) 1 compilation errors. No code generated
Comments (17)
-
-
repo owner Do you use the Common/MatDefs/Light/Deferred.frag and Common/MatDefs/Light/PBRLighting.frag in your custom material definition?
-
Hi,
No. I just was looking for shader errors.
-
repo owner How does it happen? I thought that it happens when you try to open your models...
-
repo owner Also, can you recheck how the editor works with the java argument -Djfx.background.render=LWJGL-OpenGL2 ?
-
In the editor I create a new material selecting PBRLighting.j3md material type. Clic ok.The new material file is created. Double clic to open this file and I get the error (editor close)
ot sure how to run editor using the jaa argument from your previous commnet. I opened a cmd window and typed: java -jar jme3-spaceshift-editor.jar -Djfx.background.render=LWJGL-OpenGL2
Same shader compilation error.
-
repo owner Can you recheck these problems on the 0.8.5 version without the argument? I have made a new release.
-
repo owner Can you recheck these problems on the 0.8.8 version?
-
repo owner -
assigned issue to
- edited description
-
assigned issue to
-
Rechecked on 9.0
WARNING 23:07:22:833 Editor: com.jme3.renderer.RendererException: compile error in: ShaderSource[name=Common/MatDefs/Light/Deferred.frag, defines, type=Fragment, language=GLSL100] Fragment shader failed to compile with the following errors: ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context ERROR: error(#273) 1 compilation errors. No code generated
and
WARNING 23:04:04:212 Editor: com.jme3.renderer.RendererException: compile error in: ShaderSource[name=Common/MatDefs/Light/PBRLighting.frag, defines, type=Fragment, language=GLSL100] Fragment shader failed to compile with the following errors: WARNING: 0:7: warning(#62) enable/warn/disable extension is not found. Extension "GL_NV_shadow_samplers_cube" is not supported ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context ERROR: error(#273) 1 compilation errors. No code generated
another one
WARNING 23:13:11:829 Editor: com.jme3.renderer.RendererException: compile error in: ShaderSource[name=tonegod/gui/shaders/Unshaded.frag, defines, type=Fragment, language=GLSL100] Fragment shader failed to compile with the following errors: ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context ERROR: error(#273) 1 compilation errors. No code generated
last on for today's testing
WARNING 23:14:05:917 Editor: com.jme3.renderer.RendererException: compile error in: ShaderSource[name=tonegod/gui/shaders/Particle.frag, defines, type=Fragment, language=GLSL120] Fragment shader failed to compile with the following errors: ERROR: 0:11: error(#143) Undeclared identifier: m_Texture ERROR: 0:11: error(#143) Undeclared identifier: texCoord ERROR: 0:11: error(#216) Vector field selection out of range "xy" ERROR: 0:11: error(#202) No matching overloaded function found: texture2D ERROR: 0:11: error(#160) Cannot convert from: "const float" to: "highp 4-component vector of vec4" ERROR: error(#273) 5 compilation errors. No code generated
-
repo owner Can you recheck this version? https://yadi.sk/d/dHs0fDYf38KYPj about the shaders tonegod/gui/shaders/Unshaded.frag and tonegod/gui/shaders/Particle.frag, I don't support these shaders, I have removed it in the test version.
-
Rechecked. Some errors still:
WARNING 22:28:09:447 Editor: com.jme3.renderer.RendererException: compile error in: ShaderSource[name=Common/MatDefs/Misc/Unshaded.frag, defines, type=Fragment, language=GLSL100] Fragment shader failed to compile with the following errors: ERROR: error(#272) Implicit version number 110 not supported by GL3 forward compatible context ERROR: error(#273) 1 compilation errors. No code generated
WARNING 22:29:15:039 Editor: com.jme3.renderer.RendererException: compile error in: ShaderSource[name=Common/MatDefs/Shadow/PostShadow.frag, defines, type=Fragment, language=GLSL150] Fragment shader failed to compile with the following errors: ERROR: 0:127: error(#143) Undeclared identifier: SHADOWMAP_SIZE ERROR: 0:206: error(#143) Undeclared identifier: KERNEL ERROR: 0:207: error(#143) Undeclared identifier: PCFEDGE ERROR: 0:244: error(#143) Undeclared identifier: PCFEDGE ERROR: 0:316: error(#143) Undeclared identifier: GETSHADOW ERROR: 0:316: error(#202) No matching overloaded function found: GETSHADOW ERROR: error(#273) 6 compilation errors. No code generated
WARNING 22:29:49:673 Editor: com.jme3.renderer.RendererException: compile error in: ShaderSource[name=Common/MatDefs/Shadow/PostShadowFilter15.frag, defines, type=Fragment, language=GLSL150] Fragment shader failed to compile with the following errors: ERROR: 0:239: error(#143) Undeclared identifier: KERNEL ERROR: 0:240: error(#143) Undeclared identifier: PCFEDGE ERROR: 0:277: error(#143) Undeclared identifier: PCFEDGE ERROR: 0:349: error(#143) Undeclared identifier: GETSHADOW ERROR: 0:349: error(#202) No matching overloaded function found: GETSHADOW ERROR: error(#273) 5 compilation errors. No code generated
-
repo owner Doest PBRLighting work?
-
Yes
-
repo owner Do you have any news?
-
repo owner any news?
-
repo owner - edited description
- changed status to on hold
- Log in to comment
Added more errors: