> On Wednesday 02 May 2012 23:47:59 Emilian Huminiuc wrote: > > > Fred, > > One small question, what's with the multiple passes/ shader > > overrides and al > sort of funky stuff (colour mask O.O) going on in > terrain-default.eff. It > looks like a real mess. > > I wanted to clear out the unneeded include_fog.vert that crept back > > in somehow and found that... > > Or is this an artefact of a messy git merge? > > Could you please check, or explain? > > > > Cheers, > > Emilian > > Nevermind, checked the git history, it's itended to be that way since > a while ago :) > Sorry for the noise
having 2 passes is a kind of optimization if done well : first pass rendered with no fancy stuff initialize the depth buffer so that fancy stuff is only computed on visible fragments, because early z-culling can occur. Regards, -Fred ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel