I'm trying to take my first step with Kha by following Lubos' beginner tuorials for Kha 3d at http://luboslenco.com/kha3d/ but have created a FlashDevelop project with a Flash target (using haxelib run kha flash) and don't understand how the glsl code gets compiled to agal.
In the tutorial it mentions:
For shaders, Kha uses GLSL syntax. Shaders are automatically cross-compiled based on target system using a tool called Krafix, meaning we do not have to worry about rewriting them
But when i compile the FD project it's not automatically compiling any agal shader files as far as i can tell.
Could anyone explain how this is done? Am I missing an FD compiler option perhaps, or need to run Krafix manually? I think the tutorials are written for WebGL and there is no mention of running on the flash target so I'm assuming there are more steps but can't find any documentation or references as to what they are?
Very excited to get rolling with this by the way Robert, looks great from what I've read about it so far!