Re: [Flightgear-devel] Stencil operations for effects and new light cone

2010-01-27 Thread Heiko Schulz
Hi Lauri!, Hi! The attached patch adds support for stencil operations in effects. Patches are for simgear's scene/material/Effect.cxx and flightgear's Main/CameraGroup.cxx. I did them with cvs diff file against latest CVS version. Hope that is correct way. The format of stencil

Re: [Flightgear-devel] Stencil operations for effects and new light cone

2010-01-27 Thread Patrice Poly
Hello ! I have just tried the new light patch, it is great ! No more visible light cone :) There is a detail that I do not manage to sort out, though. The effect looks great at day : http://imagebin.org/82128 but at night, it tends to fill the lit area with grey, overwriting the ground texture

Re: [Flightgear-devel] Stencil operations for effects and new light cone

2010-01-27 Thread Lauri Peltonen
Hi Patrice, and thanks Heiko! There is a detail that I do not manage to sort out, though. The effect looks great at day : http://imagebin.org/82128 but at night, it tends to fill the lit area with grey, overwriting the ground texture : http://imagebin.org/82129 Yes, that is an issue, and it

[Flightgear-devel] Stencil operations for effects and new light cone

2010-01-26 Thread Lauri Peltonen
Hi! The attached patch adds support for stencil operations in effects. Patches are for simgear's scene/material/Effect.cxx and flightgear's Main/CameraGroup.cxx. I did them with cvs diff file against latest CVS version. Hope that is correct way. The format of stencil operations in effect file