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

Additionaly 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.

https://www.youtube.com/watch?v=YO0UyYdDrv8&feature=youtu.be

Music from

Source code

  • Last update: ( over 1 year ago )
  • Size: 30.9 KB

Comments