On Monday 13 February 2012 22:13:04 Stuart Buchanan wrote:
> On Sun, Feb 12, 2012 at 1:59 PM, Emilian Huminiuc wrote:
> > On Friday 10 February 2012 23:05:45 Stuart Buchanan wrote:
> >> Hi All,
> >> 
> >> 
> >> - The forest effect doesn't currently use the default fog effect
> >> (include_fog.[vert|frag] etc.).. For consistency with the rest of the
> >> terrain, and
> >>   the tree effect, I think it should. Is there any particular reason
> >> why it doesn't?
> >> 
> >> -Stuart
> > 
> > Hi, just an oversight on my part. I'll fix it ASAP.
> > 
> > Emilian,
> 
> Thanks very much Emilian.  I've also noticed a different bug with the
> ShrubCover landclass at high quality.
> 
> http://code.google.com/p/flightgear-bugs/issues/detail?id=650
> 
> I've made no headway in understanding the problem, other than possible the
> geometry shader doesn't set up gl_Fog correctly.  Any idea what's going
> wrong?
> 
> -Stuart
Hi.

The newly created vertices done by the geometry-shader need to have their 
position passed as a vec3 varying to the include_fog fragment shader. 
(include_fog.frag uses  varying vec3 PointPos;)
I would do it but I'm not familiar with the geometry shaders :(. Maybe we 
could CC Fred to the bug?

Emilian


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to