Thaddeus Crews
7ce1853014
Merge pull request #108219 from CookieBadger/area-light-integration
...
Add Rectangular Area Light Source
2026-04-14 07:10:56 -05:00
Pāvels Nadtočajevs
cdd274199e
Remove unused and broken big endian support code.
2026-04-13 12:41:46 +03:00
CookieBadger
7b7bd1dcea
Add AreaLight3D
2026-04-04 01:37:10 +02:00
Lukas Tenbrink
05c33acbb1
Make memnew(RefCounted) return Ref, to force callers to take ownership of it through a reference.
2026-03-18 20:34:08 +01:00
Rémi Verschelde
6d309c858e
Remove unused includes in modules with clangd-tidy
2026-03-16 16:40:39 +01:00
Rémi Verschelde
f332faf46b
Explicitly include core/os/os.h where used
2026-03-04 09:54:10 +01:00
StarryWorm
357fa00a4a
rm class_db.h from resource.h
2026-02-27 19:08:29 -05:00
Rémi Verschelde
f0a448540e
Misc dependency improvements for files depending on rendering_server.h
...
On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 3s.
2026-02-25 20:17:27 +01:00
Rémi Verschelde
f5a290ac46
Move RenderingServer enums to a dedicated RenderingServerEnums (RSE) namespace
...
A number of headers in the codebase included `rendering_server.h` just for
some enum definitions. This means that any change to `rendering_server.h` or
one of its dependencies would trigger a massive incremental rebuild.
With this change, we decouple a number of classes from `rendering_server.h`,
greatly speeding up incremental rebuilds for that area.
On my machine, this reduces incremental compilation time after an edit of
`rendering_server.h` by 60s (from 2m57s).
2026-02-25 19:43:03 +01:00
Lukas Tenbrink
0ea5ece984
Move binary math functions to Math namespace in math_funcs_binary header.
2026-02-17 12:24:35 +01:00
Skyth
8fbf2f1e14
Reduce includes to rendering device.
...
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com >
2026-02-10 16:58:50 +03:00
Lukas Tenbrink
c5df0cb82b
Don't right-align escaped newlines, e.g. for #define. This has previously led to long diffs in the commit history.
2026-02-04 19:31:28 +01:00
Lukas Tenbrink
c56c297cee
Remove geometry_3d include from rendering_server.h, to reduce compile time.
...
Change `Geometry3D` from class to namespace.
2026-01-27 18:12:38 +01:00
BlueCube3310
de9b22625e
LightmapGI: Pack L1 SH coefficients before denoising
2025-11-21 18:53:20 +01:00
Aaron Franke
9fbf5808a0
Rename server "free" functions to "free_rid" to match exposed API
2025-09-30 16:52:25 -07:00
A Thousand Ships
f11aff3841
Editor: Restructure editor code
...
Moving various editor files into sub folders to reduce clutter
2025-07-04 18:18:22 +02:00
Meowcat285
b16b3ea383
Fix buffer size calculations in lightmapper_rd.cpp to account for element sizes
2025-06-21 21:20:56 -04:00
Thaddeus Crews
88064d8b12
Merge pull request #107635 from akien-mga/scons-xatlas-lightmapper-mobile-editors
...
SCons: Enable `lightmapper` and `xatlas_unwrap` modules on Android and iOS editors
2025-06-18 18:14:08 -05:00
Lukas Tenbrink
2b36c79f7b
Use Span<uint8_t> in RenderingDevice allocation APIs to avoid intermediary arrays on calls.
2025-06-18 12:31:48 +02:00
Rémi Verschelde
e30acd2be8
SCons: Enable lightmapper and xatlas_unwrap modules on Android and iOS editors
...
Fixes #94297 .
Fixes #107398 .
2025-06-17 16:48:19 +02:00
Rémi Verschelde
09ed9d4a93
Merge pull request #107254 from passivestar/shadow-unleak
...
Fix LightmapGI shadow leaks
2025-06-14 00:00:12 +02:00
Rémi Verschelde
36d7a87cc8
Merge pull request #107168 from Rudolph-B/Issue-102300
...
Fix SH lightmap coefficients for direct lights
2025-06-09 00:44:59 +02:00
passivestar
219035c5ea
Fix LightmapGI shadow leaks
2025-06-08 20:13:12 +04:00
Rudolph Bester
9b00031886
Fix SH lightmap coefficients for direct lights
2025-06-05 20:38:13 +02:00
BlueCube3310
6434c3d2c4
LightmapGI: Search for shadowmask light index only after sorting the lights
2025-06-05 15:55:48 +02:00
BlueCube3310
5640ddd0a5
Scene shader: Improve and document SH evaluation for light probes
2025-04-19 15:08:02 +02:00
Yufeng Ying
4f4031a675
Replace size() == 0 with is_empty().
2025-04-02 19:18:43 +08:00
Thaddeus Crews
324512e11c
Style: Replace header guards with #pragma once
2025-03-07 17:33:47 -06:00
BlueCube3310
7ed64ebd9a
Lightmapper: Expose the JNLM denoiser region size in the project settings
2025-02-13 12:00:51 +01:00
Hugo Locurcio
0c4834b20f
Decrease default Max Rays per Pass setting to 4 to fix some lightmapping crashes
2025-02-06 14:36:23 +01:00
Rudolph Bester
9cb317c7c0
Fix over saturated static colored lights
2025-02-04 19:45:36 +02:00
clayjohn
49a004fc13
Spread direct lighting calculation for LightmapGI over several submissions to avoid TDR on Windows devices
...
Also add percentage progress for direct lighting step
2025-01-31 16:37:13 -08:00
Rémi Verschelde
709f2e1a5d
Merge pull request #100765 from Geometror/lightmapgi-add-downsampling
...
Add a supersampling option to LightmapGI
2025-01-07 23:17:39 +01:00
Hendrik Brucker
054340bb6b
Add a supersampling option to LightmapGI
...
This provides increased lightmap quality with less noise, smoother
shadows and better small-scale shadow detail. The downside is that
this significantly increases bake times and memory usage while baking
lightmaps, so this option is disabled by default.
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro >
Co-authored-by: landervr <31851431+CpnWaffle@users.noreply.github.com >
2025-01-07 18:44:59 +01:00
Hendrik Brucker
cb460ad421
Add support for colored shadows in LightmapGI
2025-01-06 23:40:18 +01:00
Hendrik Brucker
751d3d5852
Fix lightmapper penumbra computation
2024-12-30 16:30:59 +01:00
Hendrik Brucker
3cc5f6e346
Remove leftover print in lightmapper_rd.cpp
2024-12-23 21:14:14 +01:00
Hendrik Brucker
a3525bc015
Add transparency support for LightmapGI
...
Co-authored-by: Guerro323 <kaltobattle@gmail.com >
2024-12-18 19:36:16 +01:00
BlueCube3310
189c8eb671
Implement shadowmasks for LightmapGI
...
Co-authored-by: dearthdev <nathandearthdev@gmail.com >
2024-12-12 11:00:28 +01:00
Dario
6d5ac8f7ef
Resolve load and store ops automatically for render passes for discardable textures.
2024-11-25 11:27:48 -03:00
Thaddeus Crews
dcb59f0e7e
Merge pull request #99548 from Repiteo/style/clang-format-19-options
...
Style: Add 19.1.0 LLVM options to `.clang-format`
2024-11-22 14:54:29 -06:00
Thaddeus Crews
e8a4b45ce4
Style: Add 19.1.0 LLVM options to .clang-format
2024-11-22 09:24:32 -06:00
Bad Sector
5bca028e2b
Add lightmap bake cancelling
2024-11-21 21:31:02 +02:00
Rémi Verschelde
a4c1804cab
Merge pull request #97483 from akien-mga/clang-format-19.1.0
...
CI: Update `clang-format` pre-commit hook to 19.1.0
2024-09-26 12:46:04 +02:00
Rémi Verschelde
c92a6c7e27
CI: Update clang-format pre-commit hook to 19.1.0
2024-09-26 11:46:12 +02:00
Thaddeus Crews
9f9ee0c813
SCons: Add unobtrusive type hints in SCons files
2024-09-25 09:34:35 -05:00
BlueCube3310
a89f4fa5a9
LightmapGI: Pack L1 SH coefficients for directional lightmaps
2024-09-05 22:46:58 +02:00
Stuart Carnie
a7a245de92
Metal: enable for betsy and lightmapper modules
...
To support this, the rendering_context_driver_metal.h header was updated
to recognise when it is included in non-Objective-C source files.
2024-08-31 08:29:07 +10:00
Rémi Verschelde
e98aaf1caa
Merge pull request #94477 from RedMser/typos-batch-1
...
Fix various typos
2024-08-28 00:12:12 +02:00
Rémi Verschelde
68d188d521
Merge pull request #95888 from clayjohn/Lightmap-SH-coefficients
...
Use correct lightmap coefficients to ensure that the directional lightmap mode looks correct
2024-08-25 20:18:18 +02:00