1
0
Fork 0
godot/scene/resources
Arseny Kapoulkine 9a8348cc2c Use vertex colors (if present) as attributes during simplification
When importing meshes with vertex colors, we will now supply them to the
simplifier as attributes with weight=1 (in addition to normals). This will
guide the simplification to preserve regions where vertex colors change.

For this change to take full effect, it is also necessary to respect the
full error when selecting LODs; this change does not do that yet, so there
are going to still be cases where vertex colors change abruptly during LOD
switch in a visible manner.
2025-05-15 21:48:12 +03:00
..
2d Merge pull request #105718 from aaronfranke/nav-const-caps 2025-05-06 08:38:07 -05:00
3d Use vertex colors (if present) as attributes during simplification 2025-05-15 21:48:12 +03:00
SCsub Pre-commit: Fix applying ruff to SCsub files 2024-12-28 10:19:46 +01:00
animated_texture.cpp Core: Replace C math headers with C++ equivalents 2025-04-16 15:49:02 -05:00
animated_texture.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
animation.compat.inc
animation.cpp Merge pull request #104386 from Repiteo/core/cpp-math 2025-04-27 19:21:22 -05:00
animation.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
animation_library.cpp Core: Add `[[nodiscard]]` to string-like classes 2025-05-06 12:23:41 -05:00
animation_library.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
atlas_texture.cpp Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
atlas_texture.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
audio_stream_polyphonic.compat.inc
audio_stream_polyphonic.cpp Remove unused headers in scene. 2024-12-24 00:40:09 +08:00
audio_stream_polyphonic.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
audio_stream_wav.cpp Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
audio_stream_wav.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
bit_map.cpp Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
bit_map.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
bone_map.cpp Improve use of `Ref.is_null/valid` 2024-12-23 16:35:02 -05:00
bone_map.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
camera_attributes.cpp Add `GLOBAL_GET` cached macros. 2025-04-30 15:08:50 +01:00
camera_attributes.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
camera_texture.cpp Automatically activate camera monitoring when using `CameraTexture`. 2025-04-24 00:22:44 +02:00
camera_texture.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
canvas_item_material.cpp Rename version defines to GODOT_VERSION_* to match GDExtension godot-cpp 2025-03-12 11:11:38 -07:00
canvas_item_material.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
color_palette.cpp
color_palette.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
compositor.cpp
compositor.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
compressed_texture.cpp Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
compressed_texture.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
curve.cpp Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
curve.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
curve_texture.cpp Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
curve_texture.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
environment.cpp Add `GLOBAL_GET` cached macros. 2025-04-30 15:08:50 +01:00
environment.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
external_texture.cpp
external_texture.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
font.compat.inc Replace global oversampling with overrideable per-viewport oversampling. 2025-04-14 13:43:09 +03:00
font.cpp Replace global oversampling with overrideable per-viewport oversampling. 2025-04-14 13:43:09 +03:00
font.h Replace global oversampling with overrideable per-viewport oversampling. 2025-04-14 13:43:09 +03:00
gradient.cpp Use LocalVector for Curve and Gradient 2025-01-09 14:25:21 +02:00
gradient.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
gradient_texture.cpp Directly use segment points in Geometry2D/3D function parameters 2025-03-30 16:25:59 -07:00
gradient_texture.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
image_texture.cpp Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
image_texture.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
immediate_mesh.cpp
immediate_mesh.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
label_settings.cpp Implmement stackable text effects on label type through label settings 2025-04-26 20:50:20 +08:00
label_settings.h Implmement stackable text effects on label type through label settings 2025-04-26 20:50:20 +08:00
material.cpp Add support for bent normals for indirect lighting and specular occlusion 2025-05-12 12:52:04 +02:00
material.h Add support for bent normals for indirect lighting and specular occlusion 2025-05-12 12:52:04 +02:00
mesh.cpp SCons: Add enum conversion warning 2025-04-26 12:06:20 -05:00
mesh.h Allow to compile templates without physics servers 2025-03-28 11:00:44 -03:00
mesh_data_tool.compat.inc
mesh_data_tool.cpp
mesh_data_tool.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
mesh_texture.cpp
mesh_texture.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
multimesh.cpp Add explicit error messages to Multimesh error functions to make errors easier to understand. 2025-02-05 23:48:01 +01:00
multimesh.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
navigation_mesh.cpp Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
navigation_mesh.h Merge pull request #105718 from aaronfranke/nav-const-caps 2025-05-06 08:38:07 -05:00
packed_scene.cpp Add `String::replace_char(s)` methods for performance and convenience 2025-04-10 13:08:45 +02:00
packed_scene.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
particle_process_material.cpp Merge pull request #104386 from Repiteo/core/cpp-math 2025-04-27 19:21:22 -05:00
particle_process_material.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
physics_material.cpp Allow to compile templates without physics servers 2025-03-28 11:00:44 -03:00
physics_material.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
placeholder_textures.cpp
placeholder_textures.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
portable_compressed_texture.cpp Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
portable_compressed_texture.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
resource_format_text.cpp Using iterator pattern instead of List::Element *. 2025-03-28 13:29:15 +08:00
resource_format_text.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
shader.compat.inc
shader.cpp Always use `String` as `StringName` backing internally. 2025-04-23 14:57:03 +02:00
shader.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
shader_include.cpp Use `append_` instead of `parse_` for `String` methods. 2025-03-27 17:51:02 +01:00
shader_include.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
skeleton_profile.cpp Fix cases where _get returned true erroneously 2025-04-25 19:06:09 +02:00
skeleton_profile.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
sky.cpp
sky.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
sprite_frames.cpp
sprite_frames.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
style_box.cpp
style_box.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
style_box_flat.cpp Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
style_box_flat.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
style_box_line.cpp Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
style_box_line.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
style_box_texture.cpp Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
style_box_texture.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
surface_tool.cpp Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
surface_tool.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
svg_texture.cpp Add type hint to SVGTexture dictionary 2025-05-05 02:09:34 -07:00
svg_texture.h Add `SVGTexture` importer. 2025-04-24 08:15:53 +03:00
syntax_highlighter.cpp Add missing dictionary and array type hints 2025-05-06 12:35:19 -07:00
syntax_highlighter.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
text_file.cpp Use `append_` instead of `parse_` for `String` methods. 2025-03-27 17:51:02 +01:00
text_file.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
text_line.compat.inc Replace global oversampling with overrideable per-viewport oversampling. 2025-04-14 13:43:09 +03:00
text_line.cpp Fix class reference discrepancy when using `--doctool` with TextServerFallback 2025-04-29 02:40:32 +02:00
text_line.h Replace global oversampling with overrideable per-viewport oversampling. 2025-04-14 13:43:09 +03:00
text_paragraph.compat.inc Replace global oversampling with overrideable per-viewport oversampling. 2025-04-14 13:43:09 +03:00
text_paragraph.cpp Fix class reference discrepancy when using `--doctool` with TextServerFallback 2025-04-29 02:40:32 +02:00
text_paragraph.h Replace global oversampling with overrideable per-viewport oversampling. 2025-04-14 13:43:09 +03:00
texture.cpp
texture.h Remove empty constructors and destructors from scene/ 2025-05-06 14:46:54 +02:00
texture_rd.cpp
texture_rd.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
theme.cpp Use `get_slicec` instead of `get_slice` for single character splitters 2025-03-08 20:36:37 +01:00
theme.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
video_stream.cpp Remove unused headers in scene. 2024-12-24 00:40:09 +08:00
video_stream.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
visual_shader.cpp Add support for bent normals for indirect lighting and specular occlusion 2025-05-12 12:52:04 +02:00
visual_shader.h Replace VMap with HashMap in VisualShader. 2025-05-09 19:05:28 +08:00
visual_shader_nodes.compat.inc Remove unused headers in scene. 2024-12-24 00:40:09 +08:00
visual_shader_nodes.cpp Merge pull request #100350 from Namey5/visualshader-worldposfromdepth-fix 2025-01-22 16:32:26 -06:00
visual_shader_nodes.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
visual_shader_particle_nodes.cpp Replace size() == 0 with is_empty(). 2025-04-02 19:18:43 +08:00
visual_shader_particle_nodes.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
visual_shader_sdf_nodes.cpp
visual_shader_sdf_nodes.h Style: Replace header guards with `#pragma once` 2025-03-07 17:33:47 -06:00
world_2d.cpp Organize ifdefs for disabling navigation, physics, and XR 2025-04-02 08:24:24 -07:00
world_2d.h Organize ifdefs for disabling navigation, physics, and XR 2025-04-02 08:24:24 -07:00