Common/MatDefs/Light/PBRLighting.vert exception in 3.3.0-beta1(after switch from alpha5)
See original GitHub issueHi, after switch to new beta1 of 3.3 seems like im getting new issue. i dont think its related to my changes, because i dont trully made any to that Test.
Im using shape keys to manipulate morph shapes of Character models. So its related probably only for morph shapes models.
gru 22, 2019 3:08:39 PM com.jme3.app.LegacyApplication handleError
SEVERE: Uncaught exception thrown in Thread[main,5,main]
com.jme3.renderer.RendererException: compile error in: ShaderSource[name=Common/MatDefs/Light/PBRLighting.vert, defines, type=Vertex, language=GLSL150]
0(423) : error C1111: non-lvalue actual parameter #2 cannot be out parameter ("norm.27")
at com.jme3.renderer.opengl.GLRenderer.updateShaderSourceData(GLRenderer.java:1476)
at com.jme3.renderer.opengl.GLRenderer.updateShaderData(GLRenderer.java:1503)
at com.jme3.renderer.opengl.GLRenderer.setShader(GLRenderer.java:1567)
at com.jme3.material.logic.SinglePassAndImageBasedLightingLogic.render(SinglePassAndImageBasedLightingLogic.java:259)
at com.jme3.material.Technique.render(Technique.java:166)
at com.jme3.material.Material.render(Material.java:1026)
at com.jme3.renderer.RenderManager.renderGeometry(RenderManager.java:614)
at com.jme3.renderer.queue.RenderQueue.renderGeometryList(RenderQueue.java:266)
at com.jme3.renderer.queue.RenderQueue.renderQueue(RenderQueue.java:305)
at com.jme3.renderer.RenderManager.renderViewPortQueues(RenderManager.java:877)
at com.jme3.renderer.RenderManager.flushQueue(RenderManager.java:779)
at com.jme3.renderer.RenderManager.renderViewPort(RenderManager.java:1108)
at com.jme3.renderer.RenderManager.render(RenderManager.java:1158)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:272)
at com.jme3.system.lwjgl.LwjglWindow.runLoop(LwjglWindow.java:503)
at com.jme3.system.lwjgl.LwjglWindow.run(LwjglWindow.java:585)
at com.jme3.system.lwjgl.LwjglWindow.create(LwjglWindow.java:427)
at com.jme3.app.LegacyApplication.start(LegacyApplication.java:463)
at com.jme3.app.LegacyApplication.start(LegacyApplication.java:424)
at com.jme3.app.SimpleApplication.start(SimpleApplication.java:127)
This refer to:
421 void Morph_Compute(inout vec4 pos){
422 #if (NUM_TARGETS_BUFFERS == 2)
423 Morph_Compute_Pos_Norm(pos,vec3(0.0));
424 return;
425 #elif (NUM_TARGETS_BUFFERS == 3)
426 Morph_Compute_Pos_Norm_Tan(pos, vec3(0.0), vec3(0.0));
427 return;
428 #endif
429 Morph_Compute_Pos(pos);
430 }
431
below line is problematic:
423 Morph_Compute_Pos_Norm(pos,vec3(0.0));
Issue Analytics
- State:
- Created 4 years ago
- Comments:14 (10 by maintainers)
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Don’t worry. It seems a compiler specific issue, it happens. Should be fixed in master.
thanks