You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-25 15:37:42 +00:00
Small fixes required to get platformer to work.
Added back CanvasItemMaterial
This commit is contained in:
@@ -571,7 +571,7 @@ void ParticlesMaterial::_update_shader() {
|
||||
code += "\n";
|
||||
|
||||
code += " uint base_number=NUMBER/uint(trail_divisor);\n";
|
||||
code += " uint alt_seed=hash(base_number+uint(1));\n";
|
||||
code += " uint alt_seed=hash(base_number+uint(1)+RANDOM_SEED);\n";
|
||||
code += " float angle_rand=rand_from_seed(alt_seed);\n";
|
||||
code += " float scale_rand=rand_from_seed(alt_seed);\n";
|
||||
code += " float hue_rot_rand=rand_from_seed(alt_seed);\n";
|
||||
|
||||
Reference in New Issue
Block a user