Re: [Flightgear-devel] PolygonOffset implementation

2011-10-31 Thread Fernando García
Hi, I just modified the Effects.cxx file in Simgear > simgear > scene > material. I changed a bit the code, and it succesfully doesn't give any errors now, but there isn't any visible results. Here is the new code: struct PolygonOffsetBuilder : public PassAttributeBuilder { void buildAttr

Re: [Flightgear-devel] PolygonOffset implementation

2011-10-31 Thread Frederic Bouvier
Hi, it's difficult to answer questions like this. If you can post the files you modified, one of us could compile it and see what's going on. Regards, -Fred - Mail original - > Hello, > This is my first try with mailing-list, I am icecode in IRC, Icecode > GL in forum and a few tim

[Flightgear-devel] PolygonOffset implementation

2011-10-29 Thread Fernando García Liñán
Hello, This is my first try with mailing-list, I am icecode in IRC, Icecode GL in forum and a few time ago I've been involved in trying to return shadows back in FlightGear, exploring the big world of shaders and effects. But when Z-fighting (http://en.wikipedia.org/wiki/Z-fighting) problem appear