diff options
author | Bastiaan Olij <mux213@gmail.com> | 2022-10-29 01:14:53 +1100 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2022-11-13 19:28:10 +1100 |
commit | 7658dc6e7e75e225d0e09f4c2744e63d7a934a78 (patch) | |
tree | b4167e990a524319526119687e17ce509f160a1d /modules | |
parent | c17f17eb98188a7134c85bdbdf0123127c462046 (diff) |
Add optional UV2 logic for lightmapping to primitive shapes
Diffstat (limited to 'modules')
-rw-r--r-- | modules/lightmapper_rd/register_types.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/lightmapper_rd/register_types.cpp b/modules/lightmapper_rd/register_types.cpp index 0e0330c1a1..ed223e1faa 100644 --- a/modules/lightmapper_rd/register_types.cpp +++ b/modules/lightmapper_rd/register_types.cpp @@ -57,6 +57,7 @@ void initialize_lightmapper_rd_module(ModuleInitializationLevel p_level) { GLOBAL_DEF("rendering/lightmapping/bake_quality/high_quality_probe_ray_count", 512); GLOBAL_DEF("rendering/lightmapping/bake_quality/ultra_quality_probe_ray_count", 2048); GLOBAL_DEF("rendering/lightmapping/bake_performance/max_rays_per_probe_pass", 64); + GLOBAL_DEF("rendering/lightmapping/primitive_meshes/texel_size", 0.2); #ifndef _3D_DISABLED GDREGISTER_CLASS(LightmapperRD); Lightmapper::create_gpu = create_lightmapper_rd; |