From adf766aeffed56935a3ca654ac143c53490a035c Mon Sep 17 00:00:00 2001 From: Frederic Bouvier Date: Wed, 18 Apr 2012 09:13:38 +0200 Subject: [PATCH] Add optional shadow filtering --- Effects/sunlight.eff | 8 ++++++++ Shaders/sunlight.frag | 36 +++++++++++++++++------------------- preferences.xml | 11 ++++++----- 3 files changed, 31 insertions(+), 24 deletions(-) diff --git a/Effects/sunlight.eff b/Effects/sunlight.eff index 638c83dfc..444b92985 100644 --- a/Effects/sunlight.eff +++ b/Effects/sunlight.eff @@ -1,6 +1,9 @@ Effects/sunlight + + /sim/rendering/shadows/filtering + /sim/rendering/shadows/enabled @@ -68,6 +71,11 @@ sampler-2d 4 + + filtering + int + filtering +