Re: [Flightgear-devel] Rendering passes question

2012-07-18 Thread Frederic Bouvier
> > So, was there a reason we texture and fog during the first pass and > > should I see any unexpected side effects, or can I simply use the > > trivial shaders and get my 12% framerate? > > The main reason to render textures at this stage is that textures > with transparency do change the fragme

Re: [Flightgear-devel] Rendering passes question

2012-07-18 Thread Renk Thorsten
> The main reason to render textures at this stage is that textures with > transparency do change the fragments that are rendered. Calculating > the fog color seems wrong, but I don't have the sources in front of me > and gitorious is acting up. So since we're not using transparent textures for te

Re: [Flightgear-devel] Rendering passes question

2012-07-18 Thread Tim Moore
On Wed, Jul 18, 2012 at 8:27 AM, Renk Thorsten wrote: > > May I ask yet another dumb question? > Yes, although this isn't a dumb question. > In the first rendering pass of default terrain rendering, we use default.vert > and terrain-nocolor.frag as shaders. I have so far mindlessly copied the >