projects
/
demo
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
controls for fog to select params
[demo]
/
src
/
renderer.h
diff --git
a/src/renderer.h
b/src/renderer.h
index
a14d69c
..
e484767
100644
(file)
--- a/
src/renderer.h
+++ b/
src/renderer.h
@@
-14,6
+14,7
@@
protected:
int shin_loc;
int mmviewproj_loc;
int mview_loc;
+ int fog_loc;
ShaderProgram *sprog;
@@
-26,6
+27,8
@@
protected:
virtual void draw_skybox() const;
public:
+ float fog_density;
+
Scene *scene;
OrbitCamera *camera;