summaryrefslogtreecommitdiff
path: root/servers/visual
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2017-06-23 14:31:21 -0300
committerJuan Linietsky <reduzio@gmail.com>2017-06-23 14:31:59 -0300
commit8ef1c41a4e20602ee1c65a64b1cd5b15e204dfb1 (patch)
tree885d02ee07734df5a0dfabfdeb152699af009f79 /servers/visual
parent33c146adbc3236798a752f598e40d7732e0e8865 (diff)
Small fixes required to get platformer to work.
Added back CanvasItemMaterial
Diffstat (limited to 'servers/visual')
-rw-r--r--servers/visual/shader_types.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/visual/shader_types.cpp b/servers/visual/shader_types.cpp
index 81139ecc1c..42f1a98826 100644
--- a/servers/visual/shader_types.cpp
+++ b/servers/visual/shader_types.cpp
@@ -212,6 +212,7 @@ ShaderTypes::ShaderTypes() {
shader_modes[VS::SHADER_PARTICLES].functions["vertex"]["NUMBER"] = ShaderLanguage::TYPE_UINT;
shader_modes[VS::SHADER_PARTICLES].functions["vertex"]["INDEX"] = ShaderLanguage::TYPE_INT;
shader_modes[VS::SHADER_PARTICLES].functions["vertex"]["EMISSION_TRANSFORM"] = ShaderLanguage::TYPE_MAT4;
+ shader_modes[VS::SHADER_PARTICLES].functions["vertex"]["RANDOM_SEED"] = ShaderLanguage::TYPE_UINT;
shader_modes[VS::SHADER_PARTICLES].modes.insert("billboard");
shader_modes[VS::SHADER_PARTICLES].modes.insert("disable_force");