defined camera in abstract sense
This commit is contained in:
parent
3de372f83f
commit
e2da50b6d9
@ -46,5 +46,6 @@ executable Pioneers
|
|||||||
time >=1.4.0,
|
time >=1.4.0,
|
||||||
GLUtil >= 0.7,
|
GLUtil >= 0.7,
|
||||||
attoparsec >= 0.11.2
|
attoparsec >= 0.11.2
|
||||||
|
other-modules: Render.Types
|
||||||
Default-Language: Haskell2010
|
Default-Language: Haskell2010
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ float snoise(vec3 v)
|
|||||||
float fog(float dist) {
|
float fog(float dist) {
|
||||||
dist = max(0,dist - 50);
|
dist = max(0,dist - 50);
|
||||||
dist = dist * 0.05;
|
dist = dist * 0.05;
|
||||||
dist = dist;
|
// dist = dist*dist;
|
||||||
return 1-exp(-dist);
|
return 1-exp(-dist);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user