text: #include "Shadows.hpp"
  
  #include "Scenes/Scenes.hpp"
  
  namespace acid
  {
  	Shadows::Shadows() :
  		IModule(),
  		m_lightDirection(Vector3(0.5f, 0.0f, 0.5f)),
  		m_shadowSize(8192),
  		m_shadowPcf(1),
  		m_shadowBias(0.001f),
  		m_shadowDarkness(0.6f),
  		m_shadowTransition(11.0f),
  		m_shadowBoxOffset(9.0f),
  		m_shadowBoxDistance(70.0f),
  		m_shadowBox(ShadowBox())
  	{
  	}
  
  	Shadows::~Shadows()
  	{
  	}
  
  	void Shadows::Update()
  	{
  		if (Scenes::Get()->GetCamera() != nullptr)
  		{
  			m_shadowBox.Update(*Scenes::Get()->GetCamera(), m_lightDirection, m_shadowBoxOffset, m_shadowBoxDistance);
  		}
  	}
  }
  