summaryrefslogtreecommitdiff
path: root/gfx/gl/sceneProvider.cpp
blob: d73ac3cf73f30f987e34d1f308bcfc23dbfa308f (plain)
1
2
3
4
5
6
7
8
9
#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}, {1, 0, -1});
}