Double to float in shaders. Fixes in asset handling of satellites.

This commit is contained in:
Emil Axelsson
2019-04-30 17:44:37 +02:00
committed by ElonOlsson
parent d26700268f
commit b18895592f
7 changed files with 10 additions and 44 deletions
@@ -853,7 +853,7 @@ void RenderableSatellites::render(const RenderData& data, RendererTasks&) {
//_programObject->setUniform(_uniformCache.numberOfOrbits, _TLEData.size());
_programObject->setUniform(_uniformCache.opacity, _opacity);
_programObject->setUniform(_uniformCache.inGameTime, _inGameTime);
_programObject->setUniform(_uniformCache.inGameTime, static_cast<float>(_inGameTime));
glm::dmat4 modelTransform =