diff options
author | Yuri Roubinsky <chaosus89@gmail.com> | 2021-08-17 15:13:16 +0300 |
---|---|---|
committer | Yuri Roubinsky <chaosus89@gmail.com> | 2021-08-17 15:13:16 +0300 |
commit | c1cd0fe6d108a2ab347025c4ebd3201c55977d4d (patch) | |
tree | 75ae6d0e2d71fc631b806fe4b31b1055d1920312 /servers/rendering | |
parent | 84b11fbaa674b6e2341de534e93a981378a307ad (diff) |
Removed `RESTART` built-in from `start` particle shader function
Diffstat (limited to 'servers/rendering')
-rw-r--r-- | servers/rendering/shader_types.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/servers/rendering/shader_types.cpp b/servers/rendering/shader_types.cpp index 4488069698..0bfcccef28 100644 --- a/servers/rendering/shader_types.cpp +++ b/servers/rendering/shader_types.cpp @@ -342,7 +342,6 @@ ShaderTypes::ShaderTypes() { shader_modes[RS::SHADER_PARTICLES].functions["start"].built_ins["VELOCITY"] = ShaderLanguage::TYPE_VEC3; shader_modes[RS::SHADER_PARTICLES].functions["start"].built_ins["MASS"] = ShaderLanguage::TYPE_FLOAT; shader_modes[RS::SHADER_PARTICLES].functions["start"].built_ins["ACTIVE"] = ShaderLanguage::TYPE_BOOL; - shader_modes[RS::SHADER_PARTICLES].functions["start"].built_ins["RESTART"] = constt(ShaderLanguage::TYPE_BOOL); shader_modes[RS::SHADER_PARTICLES].functions["start"].built_ins["CUSTOM"] = ShaderLanguage::TYPE_VEC4; shader_modes[RS::SHADER_PARTICLES].functions["start"].built_ins["TRANSFORM"] = ShaderLanguage::TYPE_MAT4; shader_modes[RS::SHADER_PARTICLES].functions["start"].built_ins["LIFETIME"] = constt(ShaderLanguage::TYPE_FLOAT); |