mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-04 10:40:09 -06:00
Fix the scaling of renderablemodel by making the magnification a floatproperty
This commit is contained in:
@@ -196,6 +196,8 @@ void RenderableModel::render(const RenderData& data) {
|
||||
|
||||
_programObject->setUniform("_performShading", _performShading);
|
||||
|
||||
_geometry->setUniforms(*_programObject);
|
||||
|
||||
if (_performFade && _fading > 0.f){
|
||||
_fading = _fading - 0.01f;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user