summaryrefslogtreecommitdiff
path: root/src/shaders/common.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2020-02-26 22:52:19 +0800
committerchai <chaifix@163.com>2020-02-26 22:52:19 +0800
commit372d77e436d21312ef1a0df622964751716963a3 (patch)
tree1a71865fea6fb9f2f532422c4b83959fff17ea76 /src/shaders/common.h
parent27687536844ed3b045bba1abd1aae8bb3692f6cb (diff)
*misc
Diffstat (limited to 'src/shaders/common.h')
-rw-r--r--src/shaders/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shaders/common.h b/src/shaders/common.h
index 36f80c0..61066e5 100644
--- a/src/shaders/common.h
+++ b/src/shaders/common.h
@@ -35,6 +35,12 @@ Vec4 _proj_params;
// duration
Vec2 _time;
+// width
+// height
+// 1 / width
+// 1 / height
+Vec4 _screen_params;
+
/************************************************************************/
/* functions */
/************************************************************************/