Commit 92a97e1d authored by frankie's avatar frankie 💬

unlinking messy orientation from rotation x & z flags

parent d71f6189
......@@ -561,7 +561,7 @@ void FutariMaterial::_update_shader() {
code += "\n";
// turn particle by rotation in Y
if (flags[FUFLA_MESSY_ORIENTATION] && (flags[FUFLA_ROTATE_X] || flags[FUFLA_ROTATE_Y] || flags[FUFLA_ROTATE_Z])) {
if (flags[FUFLA_ROTATE_Y] && (flags[FUFLA_ROTATE_X] || flags[FUFLA_ROTATE_Z])) {
if (flags[FUFLA_ROTATE_X]) {
code += "float rrx = CUSTOM.x; "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment