Harald JOHNSEN wrote:
I have started to add some volumetric shadows in Flightgear.
It uses the standard stencil method to count shadow volume (let me
know if you want an implementation
without stencil, it can also be done with the alpha buffer).
A few days ago I thought that it would be overkill for the processor
or the graphic card to add this effect, but with
a few optimisations the impact on frame rate - while still noticeable
- is acceptable.
I can render the Concorde with a debug build so all is not lost if
your computer is not 10 years old.
Some screenshots here :
http://sites.estvideo.net/tipunch/flightgear/lab/shadows.html
Let me know what you think of that.
nb: only the AC is casting shadows atm, I still need to verify how are
handled other objects in the scene graph
(tile objects, AI objects, etc).
Looks awsome! It's probably worth adding especially if we can let the
users turn it off/on to tune their own performance.
Regards,
Curt.
--
Curtis Olson http://www.flightgear.org/~curt
HumanFIRST Program http://www.humanfirst.umn.edu/
FlightGear Project http://www.flightgear.org
Unique text: 2f585eeea02e2c79d7b1d8c4963bae2d
_______________________________________________
Flightgear-devel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d