]> git.mxchange.org Git - simgear.git/commit
Use Effect to implement point lights
authortimoore <timoore>
Wed, 15 Jul 2009 23:10:21 +0000 (23:10 +0000)
committerTim Moore <timoore@redhat.com>
Thu, 16 Jul 2009 10:09:44 +0000 (12:09 +0200)
commit40fe078021ebad743c5c19b8d8e287185395baf3
treef8f14be3039da38b7ea9c1b23abe3d074b1e0d20
parenta5a6600e745d763fc2b933141ebf090879c700bb
Use Effect to implement point lights

This allows different OpenGL features (point sprites, point attenuation) to
be used depending on hardware support.
simgear/scene/material/EffectCullVisitor.cxx
simgear/scene/material/mat.cxx
simgear/scene/tgdb/obj.cxx
simgear/scene/tgdb/pt_lights.cxx
simgear/scene/tgdb/pt_lights.hxx