summaryrefslogtreecommitdiffstats
path: root/modules/gdscript/gdscript_compiler.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2024-06-28 18:32:59 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2024-07-02 10:18:15 -0700
commita13a64eacd70886c6723b2f0582a4a3f7906ee24 (patch)
tree3fe94aa7d4b3527ccb34f996eabaa408b978c9f7 /modules/gdscript/gdscript_compiler.cpp
parentcae2f853dcd1ecc26ca68de08cec62089dee1f26 (diff)
downloadredot-engine-a13a64eacd70886c6723b2f0582a4a3f7906ee24.tar.gz
Disable normal raycaster for LOD generation by default
Normal raycaster makes LOD generation process >2x slower and often generates normals that look significantly worse compared to what the simplifier comes up with by default. This was likely different before last meshoptimizer upgrade, as the attribute metric was not functioning properly, but now it looks like it's doing more harm than good. This change makes it disabled by default but keeps an easy option to re-enable it per mesh using LOD parameters for now until we get more confidence and can remove the code outright. Because the long term plan would be to disable this feature entirely, the scripting API isn't changed, and it's just off-by-default there with no way to re-enable.
Diffstat (limited to 'modules/gdscript/gdscript_compiler.cpp')
0 files changed, 0 insertions, 0 deletions