JME suddently does not recompile shader anymore

Hello,

I got some weird thing going on with Shader nodes
I was modifying code for the frag shader when suddently, new modifications did not appear in the game
and now if I check the shader tab , the frag shader is at an old version and wont be replaced by my new code
been digging this for hours, I just dont get what’s wrong

any idea ? some cache files I could delete or what ?

thanks

   MaterialDef Simple {
    MaterialParameters {
        Vector3 Time
        Vector3 DiffuseMapScale
        Color Color
        Float MaxHeight
    }
    Technique {
       // LightMode MultiPass

        Defines {
            SIMPLEX_GRAY : SIMPLEX_GRAY
        }

        WorldParameters {
            WorldViewProjectionMatrix
            CameraPosition
            NormalMatrix
            LightPosition
            LightColor
            AmbientLightColor
        }
        VertexShaderNodes {
            ShaderNode ZoneVert
            {
                Definition : ZoneVert : Shaders/Zone/ZoneVert.j3sn
                InputMappings
                {
                    worldViewProjectionMatrix = WorldParam.WorldViewProjectionMatrix
                    modelPosition = Global.position.xyz
                }
                OutputMappings 
                {
                    Global.position = projPosition
                }
            }
        }
        FragmentShaderNodes {
            ShaderNode Simplex3Frag {
                Definition : Simplex3Frag : Shaders/Simplex/Simplex3Frag.j3sn
                InputMappings 
                {
                    texCoord=ZoneVert.modelPosition.xyz
                    time = MatParam.Time
                    scale = MatParam.DiffuseMapScale
                }
            }
            ShaderNode ZoneFrag {
                Definition : ZoneFrag : Shaders/Zone/ZoneFrag.j3sn
                InputMappings 
                {
                    texCoord=Global.position.xyz 
                    maxHeight=MatParam.MaxHeight
                    simplexColor=Simplex3Frag.simplexColor
                    color = MatParam.Color
                    time = MatParam.Time
                }
                OutputMappings {
                    Global.color = outColor
                }
            }
        }
    }
}

edit : I’ll try uninstall/reinstall JME… who knows

Did you try clean&build?

That was an issue with the shader node editor. It’s fixed now in master.
However, restarting the IDE should be enough (painful though, I agree), did you try?

1 Like

yep
I reainstalled the platform and now it is complaining about a code error
so I think I found the issue
once the platfom freezes and need to be abruptly stoped, problem occurs
not the first time
doing platform updates now…

mhhh. I’m sorry about that. The node editor in 3.0 is really buggy.

To cheer you up, there has been a loot of enhancements to it for 3.1 and it should be a lot better.

1 Like

lol, that’s ok I understand it is a wip

how do I get the 3.1 version ?

fyi : I aloso noticed the shader was not updated due to an error in the material definition (LighPosition not beeing part of UniformBindings…) wich I was unaware of until I clicked on the “Editor” tab, then the error popped up