From aa75b018f3b97c72b57de68867417cbda51439c3 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Sat, 3 Dec 2022 03:41:32 +0000 Subject: Initial commit of the shadow map generator and shadows render interface Lots of hard coding, buggy in places, far from great, but the basics work. --- gfx/gl/sceneProvider.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gfx/gl/sceneProvider.cpp') diff --git a/gfx/gl/sceneProvider.cpp b/gfx/gl/sceneProvider.cpp index d73ac3c..9152bfa 100644 --- a/gfx/gl/sceneProvider.cpp +++ b/gfx/gl/sceneProvider.cpp @@ -7,3 +7,7 @@ SceneProvider::environment(const SceneShader &, const SceneRenderer & renderer) renderer.setAmbientLight({0.5F, 0.5F, 0.5F}); renderer.setDirectionalLight({0.6F, 0.6F, 0.6F}, {1, 0, -1}); } +void +SceneProvider::shadows(const ShadowMapper &) const +{ +} -- cgit v1.2.3