From e2da50b6d90fca542a34c9834071f73690b02ebb Mon Sep 17 00:00:00 2001 From: Stefan Dresselhaus Date: Mon, 21 Apr 2014 19:21:13 +0200 Subject: [PATCH] defined camera in abstract sense --- Pioneers.cabal | 1 + shaders/map/fragment.shader | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Pioneers.cabal b/Pioneers.cabal index 0c2be9b..6bc84b9 100644 --- a/Pioneers.cabal +++ b/Pioneers.cabal @@ -46,5 +46,6 @@ executable Pioneers time >=1.4.0, GLUtil >= 0.7, attoparsec >= 0.11.2 + other-modules: Render.Types Default-Language: Haskell2010 diff --git a/shaders/map/fragment.shader b/shaders/map/fragment.shader index 01649cb..ec6ac9f 100644 --- a/shaders/map/fragment.shader +++ b/shaders/map/fragment.shader @@ -97,7 +97,7 @@ float snoise(vec3 v) float fog(float dist) { dist = max(0,dist - 50); dist = dist * 0.05; - dist = dist; +// dist = dist*dist; return 1-exp(-dist); }