summaryrefslogtreecommitdiff
path: root/scene/resources/particles_material.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-04-14 17:41:23 +0200
committerGitHub <noreply@github.com>2021-04-14 17:41:23 +0200
commit17333aea7605a7936210c8aa70d169c27fc6c8ac (patch)
tree12b9832f1840a72c886680cadd55a7b6bcf74cd3 /scene/resources/particles_material.cpp
parent8ce0fb0a946455ed6a7bc8a54fcf90a9d5a9ae4d (diff)
parentd3b49c416ab0f2009bb41a035f8171726f892cce (diff)
Merge pull request #47870 from reduz/reorganize-shader-compiler
Diffstat (limited to 'scene/resources/particles_material.cpp')
-rw-r--r--scene/resources/particles_material.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/particles_material.cpp b/scene/resources/particles_material.cpp
index 195ce070a7..6a65173176 100644
--- a/scene/resources/particles_material.cpp
+++ b/scene/resources/particles_material.cpp
@@ -289,7 +289,7 @@ void ParticlesMaterial::_update_shader() {
code += "}\n";
code += "\n";
- code += "void compute() {\n";
+ code += "void process() {\n";
code += " uint base_number = NUMBER;\n";
code += " uint alt_seed = hash(base_number + uint(1) + RANDOM_SEED);\n";
code += " float angle_rand = rand_from_seed(alt_seed);\n";