And another week have passed on developing ForgE. I have implemented a lot stuff for debugging, added simple directional lighting and have base for editing world with support for undo and redo :P

Additionally i have added live editing of shaders with helper support. I just need to create simple json file:

{
  class: macbury.forge.shaders.TerrainShader,
  fragment: "terrain",
  vertex:   "terrain",
  helpers: {
    vertex: ["directional_light"],
    fragment: ["fog"]
  }
}

After engine starts it loads vertex and fragment shaders source from files and append helpers from assets/shaders/helpers directory. The live editing of shaders works by using JNotify that allows me to listen to file system events.

Next week i want to implement base level editing tools like pencil, eraser and rect fill.

Music from