HB-GRAL wrote > > HB-GRAL schrieb: > > > > When I want to have more different croplands how should I go further > > with the crop shader? Building different crop.png's and cropcolors? How > > can I alter this textures/ornaments for cropland terrain? And is it also > > possible to add a relief/normalmap to crop? > > > > Thanks- gral > > > > Sorry for my crop conclusion. I see now how I can change crop texture > and 'colormap' to get another look with the shader. Here is test example > http://tinyurl.com/2uez5ar > > The problem with the random blobs still remains. Also the snow level at > 2000 meters in the summer and that some textures/landclasses are not > covered by snow (like glacier). > > Thanks, Yves >
The grey patches are not snow - they denote steep areas; perhaps rock, or a rock run. They are generated in crop.frag by: //"steep = gray" c1 = mix(vec4(n-0.42, n-0.44, n-0.51, 1.0), c1, smoothstep(0.970, 0.990, abs(normalize(Normal).z)+nvL[2]*1.3)); //"snow" c1 = mix(c1, clamp(n+nvL[2]*4.1+vec4(0.1, 0.1, nvL[2]*2.2, 1.0), 0.7, 1.0), smoothstep(snowlevel+300.0, snowlevel+360.0, (rawpos.z)+nvL[1]*3000.0)); not a bug but a feature :-) Vivian p.s. not my code btw ------------------------------------------------------------------------------ This SF.net email is sponsored by Make an app they can't live without Enter the BlackBerry Developer Challenge http://p.sf.net/sfu/RIM-dev2dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel