summaryrefslogtreecommitdiff
path: root/gfx/gl/sceneProvider.cpp
blob: 4e271dbae88c43d753a433fc91e72667c6d39baa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "sceneProvider.h"
#include "sceneRenderer.h"

void
SceneProvider::environment(const SceneShader &, const SceneRenderer & renderer) const
{
	renderer.setAmbientLight({0.5F, 0.5F, 0.5F});
	renderer.setDirectionalLight({0.6F, 0.6F, 0.6F}, {{-quarter_pi, -quarter_pi}}, *this);
}

void
SceneProvider::shadows(const ShadowMapper &) const
{
}