Hi,
I'm trying to follow Lubos Lenco's 3d tutorials (4 - A colored cube), but i never get to compile successfully because of a shader compiler error:
Compiling to HTML5.
Saving all files.
Using Kha from c:\KodeStudio\resources\app\extensions\kha\Kha
Creating Kha project.
Compiling shader 1 of 2 (simple_frag.glsl).
Usage: krafix profile in out tempdir system
Simple frag is simple enough and should compile normally:
#ifdef GL_ES
precision mediump float;
#endif
varying vec3 fragmentColor;
void kore() {
gl_FragColor = vec4(fragmentColor, 1.0);
}
Trying to run the html5 debugger or compiling for any platform through F1 -> "kha" results in the same error. Removing the shaders from khafile.js results in successful compilation, so, what am i doing wrong?
Thanks!