Can't merge PBR branch to master branch

I can’t merge PBR branch to master branch without difficult conflicts. I can’t resolve these conflicts. :frowning: It need for my Editor.

Well you’ll have to wait… There is a big merge to do.

1 Like

Ok :smile:

gl fh =)

It should be ok now, just pull the PBR branch.
And please report any issue

java.lang.UnsupportedOperationException: Unknown type of light: Probe
	at com.jme3.material.logic.SinglePassLightingLogic.updateLightListUniforms(
	at com.jme3.material.logic.SinglePassLightingLogic.render(
	at com.jme3.material.Technique.render(
	at com.jme3.material.Material.render(
	at com.jme3.renderer.RenderManager.renderGeometry(
	at com.jme3.renderer.queue.RenderQueue.renderGeometryList(
	at com.jme3.renderer.queue.RenderQueue.renderQueue(
	at com.jme3.renderer.RenderManager.renderViewPortQueues(
	at com.jme3.renderer.RenderManager.flushQueue(
	at com.jme3.renderer.RenderManager.renderViewPort(
	at com.jme3.renderer.RenderManager.render(
	at com.jme3.system.lwjgl.LwjglWindow.runLoop(

Do you have your own pbr Shader?
Because you have to change the LightMode in the j3md has I did in the PBRLighting.j3md.
LightMode SinglePassAndImageBased

I had this exception when I loaded model without PBR shader, because I had a LightProbe in my scene.

You need to add removing LightProbe in LightList for SinglePassLightingLogic.

Nah… unknown light type should be ignored by the TechDefLogic instead of crashing

fixed it

in Technique PostShadow15,
VertexShader GLSL150: Common/MatDefs/Shadow/PostShadow15.vert and FragmentShader GLSL150: Common/MatDefs/Shadow/PostShadow15.frag
, do not seem to exist anymore.

ha …right, I’ll fix that