Merge pull request #58660 from godotengine/revert-58549-fix-particle-trail
Revert "Fix particle trail glitch"
This commit is contained in:
commit
62765fb7ca
1 changed files with 1 additions and 7 deletions
|
@ -209,13 +209,7 @@ void main() {
|
|||
|
||||
txform = transpose(txform);
|
||||
} else {
|
||||
// Even being inactive, its position still needs to preserved as it might be used by trails.
|
||||
txform = particles.data[particle].xform;
|
||||
|
||||
// Set scale zero to make it invisible.
|
||||
txform[0].xyz = vec3(0);
|
||||
|
||||
txform = transpose(txform);
|
||||
txform = mat4(vec4(0.0), vec4(0.0), vec4(0.0), vec4(0.0)); //zero scale, becomes invisible
|
||||
}
|
||||
|
||||
if (params.copy_mode_2d) {
|
||||
|
|
Loading…
Reference in a new issue