Hi David, ----- "David Megginson" a écrit :
> On Thu, Mar 18, 2010 at 8:43 AM, Torsten Dreyer <tors...@t3r.de> > wrote: > > > First of all: That's a really cool eye candy, good work! > > Seconded. This is the coolest addition I've seen to FlightGear in a > long time. > > > What I noticed from a close up is, that it seems that the floor of > > the "buildings" is below elevation zero and the roof is at elevation > > zero. It looks somewhat as if the cities were carved out of the > > landscape instead of been built uppon it. This is especially > > irritating when a waterway is crossing > > an urban area and the water surface is several meters above the > > ground. > > I noticed the same problem with roads and 3d buildings -- they're > floating above the city. Is it possible to make the bump maps go up > instead of down? In Shaders/urban.frag, change line 57 : vec2 dp = gl_TexCoord[0].st; into : vec2 dp = gl_TexCoord[0].st - ds; Tell me what do you think. Try to land in the city. -Fred -- Frédéric Bouvier http://my.fotolia.com/frfoto/ Photo gallery - album photo http://fgsd.sourceforge.net/ FlightGear Scenery Designer ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel