> Apparently that's ok now, another issue cropped up in the > urban-lightfield > shader, something wrong with an #if: > > FRAGMENT glCompileShader > "/home/chris/FlightGear/Shaders/urban-lightfield.frag" > FAILED > FRAGMENT Shader "/home/chris/FlightGear/Shaders/urban-lightfield.frag" > infolog: > 0:196(22): preprocessor error: syntax error, unexpected IDENTIFIER, > expecting > NEWLINE > 0:193(1): preprocessor error: Unterminated #if
That seems to be in this block of code //use additional convergence speed-up #ifdef USE_QDM_ASCEND_INTERVAL if(frac(level*0.5) > EPSILON) level++; #elseif USE_QDM_ASCEND_CONST level++; #endif which is a literal copy of what FredB did in urban.frag - the syntax here is somewhat unfamiliar to me and I don't know precisely what the effect is doing here - maybe Fred can comment what could be wrong with this? * Thorsten ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel