From 7658dc6e7e75e225d0e09f4c2744e63d7a934a78 Mon Sep 17 00:00:00 2001 From: Bastiaan Olij Date: Sat, 29 Oct 2022 01:14:53 +1100 Subject: Add optional UV2 logic for lightmapping to primitive shapes --- modules/lightmapper_rd/register_types.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'modules') 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; -- cgit v1.2.3