summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-14 11:08:42 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-14 11:08:42 +0100
commit038ee04b8fdf595274ddc520ff70f671cfece627 (patch)
tree31323c469a42b229896deaf50d0cbcbb07dc0d7d /modules
parent63cded6a857158bbee405d177a711c9e55f002ba (diff)
parent7658dc6e7e75e225d0e09f4c2744e63d7a934a78 (diff)
Merge pull request #67975 from BastiaanOlij/implement_uv2_on_primitives
Add optional UV2 logic for lightmapping to primitive shapes
Diffstat (limited to 'modules')
-rw-r--r--modules/lightmapper_rd/register_types.cpp1
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;