Files
rez_demo/FIXES

32 lines
919 B
Plaintext
Raw Normal View History

resource text files from WIN all had CRLF
add space the delete it and save
GLES2 vs GL4
the GLSL files all needed
#version 300 es
instead of
#version 330 core
also for the vertex shaders
/*this will affect all the float guys (float, vecN, matN )*/
precision mediump float;
gl_FragCoord is still a varible in gles2 ( 300 es ) , while with gl4 (330 core) needs to be declared
commented out from declarations ( gl compiler fails on redeclarations )
automatic casting of variables is not supported
added some .0 to integers in float expressions
also some cast through constructors ( i.e float(intVar) )
InstancesLoader
changed
string root = path.substr(0, path.find_last_of("\\") + 1);
to
string root = path.substr(0, path.find_last_of("/") + 1);
Main
disabled curve path drawing until rewrite using vertexbuffers ( currently using glBegin / glEnd which are not part of OpenglES 2 )