fix for shadow caster on renderable globe

This commit is contained in:
Micah
2021-06-03 00:05:35 -04:00
parent 8435cdd211
commit 235cd94a73

View File

@@ -567,7 +567,7 @@ RenderableGlobe::RenderableGlobe(const ghoul::Dictionary& dictionary)
for (const Parameters::ShadowGroup::Caster& caster : p.shadowGroup->casters) {
Ellipsoid::ShadowConfiguration sc;
sc.source = std::pair<std::string, double>(source.name, source.radius);
sc.caster = std::pair<std::string, double>(source.name, source.radius);
sc.caster = std::pair<std::string, double>(caster.name, caster.radius);
shadowConfArray.push_back(sc);
}
}