mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-06 03:29:44 -06:00
ensure that models that do not cast shadows are still rendered
This commit is contained in:
@@ -546,7 +546,7 @@ RenderableModel::RenderableModel(const ghoul::Dictionary& dictionary)
|
||||
}
|
||||
|
||||
bool RenderableModel::isReady() const {
|
||||
return _program && _quadProgram && _depthMapProgram;
|
||||
return _program && _quadProgram && (!_castShadow || _depthMapProgram);
|
||||
}
|
||||
|
||||
void RenderableModel::initialize() {
|
||||
|
||||
Reference in New Issue
Block a user