> Martin Spott wrote:
>> This patch is probably not for everyone. At my end I'm reading the
>> following message in the terminal:
>>
>> FRAGMENT glCompileShader "" FAILED
>> FRAGMENT Shader "" infolog:
>> 0(27) : error C7011: implicit cast from "float" to "vec4"
>>
>> glLinkProgram "Shaders/landmass.vert;Shaders/landmass.frag;" FAILED
>> Program "Shaders/landmass.vert;Shaders/landmass.frag;" infolog:
>> Fragment info
>> -------------
>> 0(27) : error C7011: implicit cast from "float" to "vec4"

Ahh, that line should read:

float n=0.06 + dot(nvL, a);

instead of:

float n=0.06 + dot(nvL[0], a);

Erik

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to