]> git.mxchange.org Git - simgear.git/commit
don't render an EffectGeode if there is no valid technique
authorTim Moore <timoore@redhat.com>
Mon, 14 Dec 2009 05:52:00 +0000 (06:52 +0100)
committerTim Moore <timoore@redhat.com>
Mon, 14 Dec 2009 05:52:00 +0000 (06:52 +0100)
commit59fc902cfbd3d4532c52373feacbcecb76739309
treed087bed2ac73fb3304a5138947a7005f7f47a98f
parente37c218c2ac71aa40df21b789315a0f2f4eace87
don't render an EffectGeode if there is no valid technique

Normal geometry has a default effect; geometry with no default effect
is unlikely to look correct with no state set applied. This fixes the
problem of clouds being displayed as multi-colored rectangles when
shader effects are turned off.
simgear/scene/material/EffectCullVisitor.cxx