On Monday 02 May 2011 10:53:40 Jonathan Tanant wrote: > Hello, > > Would it be possible to add some details using a second stage texturing in > an effect file ? (Should add some eye-crisp on close-up views to the > runway textures (takeoffs and landings), and possibly on grass or others > materials too) > > Tried to add a second texture unit in "modulate" mode in > terrain-default.eff but doesn't seems to work in modulate mode... Tried in > "add" mode, result is burnt to white. > > But maybe I do this the wrong way... > Any ideas ? > > Some questions : > Are the nodes in effects files documented anywhere : I've read the > Readme.effects file, but doesn't give much details about the > <environment><mode> node... Is there a way to specify that the UV > coordinates have to be multiplicated by some float constant by the shader > ? For a details texture (asphalt ground), UVs should be multiplicated by > something like 40 (and warped). > > Thanks, > > Jonathan. > FlightGear french user. > FlightGear rocks !!!!! :-)
This can be achieved with custom mipmaps embedded in .dds textures. I've done some tests in this area and it's working as expected. You can test with this file: http://ompldr.org/vOGlvYw , as a rock (limestone) texture. HTH Emilian. ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel