More stuffage being done:
- Shaders simplified and unified to use global lighting properly.
- Lots more scripting and debug stuff - I can now execute Lua commands, show results and query data in a console-like debug interface. Had some fun trying to intercept stdout where Lua outputs its stuff, but in the end I just redefined the Lua print function to send me the string instead :P
- Experimented with the POWAH of scripting - in several lines of Lua I can set up a day lighting cycle, with the sun moving across the sky (currently excluding the fixed skybox textures. I'd like to try a procedural skybox render, but that can wait...) All this power will be available for mods (and allow me to develop things faster too.)