diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2024-10-28 10:14:04 -0700 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2024-10-28 10:14:04 -0700 |
commit | 494fe2fe21ea88585e56fde9633a90789d86f241 (patch) | |
tree | 1bd9b5772d74846b5effdd726d7070900a3ca718 /core/variant/callable_bind.cpp | |
parent | a3080477ac0421aef24ca0916c40559abbf4846b (diff) | |
download | redot-engine-494fe2fe21ea88585e56fde9633a90789d86f241.tar.gz |
LOD: Remove "Raycast Normals" and associated "Normal Split Angle" settings
"Raycast Normals" was introduced in 4.4 dev and defaulted to "false".
The limited testing results at the time suggested that raycasting
generally reduces normal quality compared to native simplifier results,
at the same time increasing vertex memory and import time.
To play it safe, we introduced a setting that defaulted to false, with
the goal of removing it later in 4.4 development cycle if no regressions
are noticed. Since we already had three dev snapshots and no reports,
this change removes the setting and associated code.
"Normal Split Angle" was only used when raycast normals were enabled;
this change removes it from the settings, but keeps it in the script
binding for compatibility.
Existing meshes import exactly the same after this change (unless they
chose to override raycasting which would be surprising).
split_normals helper was only used in this code path and is also removed
for simplicity; it is unlikely that this code will be useful as is, as
it can only regenerate normals without fixing tangents or updating
positions.
Diffstat (limited to 'core/variant/callable_bind.cpp')
0 files changed, 0 insertions, 0 deletions