aboutsummaryrefslogtreecommitdiff
path: root/client/menu/printed.gdshader
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2024-09-27 16:54:23 +0200
committermetamuffin <metamuffin@disroot.org>2024-09-27 16:54:23 +0200
commit7b454895d60ce647cfc20dd62d62450804f6463f (patch)
tree57a6b1dc5233be48494e40bd11a72df773c46db1 /client/menu/printed.gdshader
parentb55c7ebb63d8d3b701fe1d671502831feaf96d12 (diff)
downloadhurrycurry-7b454895d60ce647cfc20dd62d62450804f6463f.tar
hurrycurry-7b454895d60ce647cfc20dd62d62450804f6463f.tar.bz2
hurrycurry-7b454895d60ce647cfc20dd62d62450804f6463f.tar.zst
add printed shader
Diffstat (limited to 'client/menu/printed.gdshader')
-rw-r--r--client/menu/printed.gdshader22
1 files changed, 22 insertions, 0 deletions
diff --git a/client/menu/printed.gdshader b/client/menu/printed.gdshader
new file mode 100644
index 00000000..3b35faa8
--- /dev/null
+++ b/client/menu/printed.gdshader
@@ -0,0 +1,22 @@
+/*
+ Hurry Curry! - a game about cooking
+ Copyright 2024 metamuffin
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero General Public License as published by
+ the Free Software Foundation, version 3 of the License only.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+
+*/
+shader_type canvas_item;
+
+void fragment() {
+ COLOR = floor(COLOR*5.)/5.;
+}