mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
Fix incorrect uniform buffer size for particles
This commit is contained in:
parent
84b11fbaa6
commit
06add309d7
@ -668,14 +668,14 @@ private:
|
||||
};
|
||||
|
||||
uint32_t emitting;
|
||||
double system_phase;
|
||||
double prev_system_phase;
|
||||
float system_phase;
|
||||
float prev_system_phase;
|
||||
uint32_t cycle;
|
||||
|
||||
real_t explosiveness;
|
||||
real_t randomness;
|
||||
double time;
|
||||
double delta;
|
||||
float time;
|
||||
float delta;
|
||||
|
||||
uint32_t frame;
|
||||
uint32_t pad0;
|
||||
@ -812,7 +812,7 @@ private:
|
||||
|
||||
struct ParticlesShader {
|
||||
struct PushConstant {
|
||||
double lifetime;
|
||||
float lifetime;
|
||||
uint32_t clear;
|
||||
uint32_t total_particles;
|
||||
uint32_t trail_size;
|
||||
|
Loading…
Reference in New Issue
Block a user