On 11/28/2009 05:25 AM, Tatsuhiro Nishioka wrote: > Hi Tim, > > As I said to you in IRC, I have a weird transparency problem with the shaders > enabled. > Here's the snapshot (helicopter view) with shaders. > http://macflightgear.sourceforge.net/wp-content/uploads/snapshots/3dclouds-effect-enabled.png > > I used both FG/SG @ cvs-head as of yesterday and FG/SG @ Tim's git, but I got > exactly the same result. > The cause of this fancy rainbow-ish filter is the alpha calculation in both > default.vert and model-default.vert. > > A "lazy" patch to avoid this issue is available at: > http://macflightgear.sourceforge.net/wp-content/uploads/patches/shaders-weird-alpha-fix.diff > > I don't know if the real problem is in a shader side or C++ side. > Tim, do you have any hint on this? > Pretty bizzare. Obviously turning off alpha altogether isn't a real option. Is this a new problem since the 3d clouds went in, or are/were you seeing it without 3d clouds at all? What version of OSG are you using?
Tim > Best, > > Tat > > On Nov 27, 2009, at 2:41 AM, Tim Moore wrote: > >> I've checked in code that changes 3D clouds to use effects. you should update >> simgear and Effects and Shaders in the data directory. >> >> There is a one frame blip of weirdness that I know about; a fix is in the >> works. >> >> Tim > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Flightgear-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel

