Rémi Verschelde
e60b18493d
Merge pull request #99704 from Chaosus/shader_pp_fix_orphan_strings
...
Fix orphan strings in shader preprocessor
2024-12-02 17:20:39 +01:00
Rémi Verschelde
d2c82a8ffc
Merge pull request #97378 from rune-scape/less-const-cast
...
Get rid of easily removable uses of `const_cast`
2024-12-02 15:50:06 +01:00
Rémi Verschelde
14ce5ba8a1
Merge pull request #94368 from CrazyRoka/optimize-render-pass-uniform-set
...
Optimize `RenderForwardClustered::_setup_render_pass_uniform_set` by reducing Vector allocations
2024-12-02 15:49:58 +01:00
CrazyRoka
d9ef826c54
Optimize RenderForwardClustered::_setup_render_pass_uniform_set by reducing Vector allocations during push_back operations
2024-12-02 15:03:50 +01:00
Joshua Staub
16ee2f22eb
Check device texture size limits in RenderingDevice::texture_create
2024-12-02 14:30:02 +01:00
rune-scape
d58b2e879f
Get rid of easily removable uses of const_cast
2024-12-01 17:50:13 -08:00
Dario
c7198dda64
Fix another incorrect clear color flag on texture storage.
2024-11-28 09:59:03 -03:00
Chaosus
5a48e527b2
Fix orphan strings in shader preprocessor
2024-11-28 11:22:17 +03:00
Dario
1c6aad660f
Fix incorrect clear color flag on canvas renderer.
2024-11-27 20:01:23 -03:00
Thaddeus Crews
ed01f5f2aa
Merge pull request #98670 from DarioSamo/rd-transient-targets
...
Automatically resolve initial and final action for draw lists.
2024-11-27 10:47:29 -06:00
Thaddeus Crews
c58ae91efa
Merge pull request #99220 from Flarkk/fix_sss_reverse_z
...
Fix regression in SSS with reverse-z
2024-11-27 10:46:56 -06:00
Florent Guiocheau
3376b9166b
Fix SSS with reverse-z
2024-11-26 10:51:22 +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
clayjohn
2b68c63a88
Mask out shadows on CanvasItems that don't have a matching item_shadow_mask
...
This restores the behavior from 3.x
2024-11-21 22:15:54 -08:00
Thaddeus Crews
38ebcf92ed
Merge pull request #99463 from DarioSamo/rd-partial-coverage-fix-part-two
...
Do not check for command intersections when not using the write list.
2024-11-21 17:56:47 -06:00
Thaddeus Crews
8eee5066eb
Merge pull request #94981 from Chaosus/shader_fix_screen_uv_in_spatial_light
...
Allow `SCREEN_UV` to be used in light function of spatial shader
2024-11-21 17:56:45 -06:00
Rémi Verschelde
7c1f42506a
Merge pull request #99448 from clayjohn/RD-sky-flip
...
Unify y-flip behavior for sky in RD backends
2024-11-20 17:03:19 +01:00
Dario
8bfb631afc
Do not check for command intersections when not using the write list.
2024-11-20 10:04:17 -03:00
clayjohn
02efdb28dc
Unify y-flip behavior for sky in RD backends
2024-11-19 16:59:04 -08:00
Dario
288717d7eb
Improve dependency detection in render graph for draw lists with partial coverage.
2024-11-19 11:23:11 -03:00
Chaosus
a64b3fd3f8
Allow SCREEN_UV to be used in light function of spatial shader
2024-11-19 11:39:49 +03:00
Thaddeus Crews
fd4c29a189
Merge pull request #98683 from clayjohn/wireframe
...
Ensure shadow material and mesh are not used with wireframe mode
2024-11-18 09:23:54 -06:00
Thaddeus Crews
3ded11d0bc
Merge pull request #85359 from miv391/faster-exit-from-cull_canvas_item
...
Faster exit from `_cull_canvas_item` if alpha is zero
2024-11-18 09:23:51 -06:00
Thaddeus Crews
0a50cef751
Merge pull request #98788 from Bonkahe/master
...
Add `multimesh_get_buffer_rd_rid` method to `RenderingServer`.
2024-11-18 09:23:46 -06:00
Thaddeus Crews
7a5b1ed736
Merge pull request #99299 from Bonkahe/ResolveParticlesSetViewAxisThreadIssue
...
Move `_scene_particles_set_view_axis` to new static function to allow call to be done on render thread, preventing multi threaded error on compute shader execution.
2024-11-18 09:23:45 -06:00
Thaddeus Crews
fa29dde142
Merge pull request #99367 from BlueCube3310/mobile-probe-capture
...
Fix updating lightmap captures on Mobile
2024-11-18 09:23:32 -06:00
BlueCube3310
bb3d0045b0
Fix updating lightmap captures on Mobile
2024-11-17 19:29:21 +01:00
clayjohn
90b4b48b5a
Ensure shadow material and mesh are not used with wireframe mode
...
And in the Compatibility renderer actually use the wireframe render mode
2024-11-16 22:25:00 -08:00
David House
7e3d480087
Created static method and moved _particles_set_view_axis over to it to allow calling on render thread.
2024-11-16 13:26:26 -06:00
Mika Viskari
39423d99fa
Faster exit from _cull_canvas_item if alpha is zero
2024-11-16 13:27:45 +02:00
David House
6e9d31f602
Implemented multimesh_get_buffer_rd_rid function into RenderingServer.
...
Fixed style error.
Updated dummy mesh_storage to move from cpp to h the return of a blank Rid on _multimesh_get_buffer_rd_rid.
2024-11-14 15:52:08 -06:00
Thaddeus Crews
7f6b272b28
Merge pull request #99163 from clayjohn/Mobile-normal-interp
...
Normalize normal, tangent, and binormal before interpolating in the mobile renderer to avoid precision errors on heavily scaled meshes
2024-11-14 14:52:02 -06:00
clayjohn
2c158c386b
Normalize normal tangent and binormal before interpolating in the mobile renderer to avoid precision errors on heavily scaled meshes
2024-11-13 12:24:28 -08:00
Thaddeus Crews
76fa7b2914
Merge pull request #99066 from DarioSamo/rd-transfer-worker-deadlock-fix
...
Give the barrier pool its own mutex to avoid a deadlock with transfer workers.
2024-11-13 08:34:36 -06:00
Thaddeus Crews
e71a52dff7
Merge pull request #99073 from DarioSamo/rd-graph-dependency-fix
...
Improve graph's detection of intersection between draw lists.
2024-11-13 08:33:52 -06:00
Thaddeus Crews
74645109c4
Merge pull request #98767 from jadeharley2/master
...
Fix inability to set TextureLayeredRD as `TEXTURE_TYPE_CUBE` or `TEXTURE_TYPE_CUBE_ARRAY`
2024-11-11 14:18:29 -06:00
Thaddeus Crews
e5b77b184f
Merge pull request #98755 from Chaosus/shader_compiler_fix_struct_member_names
...
Add prefix to struct member names in shader compiler
2024-11-11 14:18:23 -06:00
Dario
a8269820b9
Improve graph's detection of intersection between draw lists.
2024-11-11 11:59:47 -03:00
Dario
bf8ecd3a9d
Give the barrier pool its own mutex to avoid a deadlock with transfer workers.
2024-11-11 10:31:12 -03:00
jadeharley2
a4d1d36c85
Fix inability to set TextureLayeredRD as TEXTURE_TYPE_CUBE or TEXTURE_TYPE_CUBE_ARRAY
2024-11-11 15:31:43 +03:00
Thaddeus Crews
9dfb36ca0c
Merge pull request #98549 from Chaosus/shader_renderer_states
...
Add renderer state defines to shader preprocessor
2024-11-10 12:13:04 -06:00
Thaddeus Crews
3cff32a92d
Merge pull request #98910 from darksylinc/matias-id_arm32
...
Force `RDD::id` to be always `uint64_t`
2024-11-10 12:12:53 -06:00
Thaddeus Crews
2b02143d35
Merge pull request #98307 from clayjohn/Light2D-shadow-projection
...
Precompute projection matrices when rendering 2D shadows
2024-11-10 12:12:14 -06:00
Matias N. Goldberg
e69a0c7d60
Force RID::id to be always uint64_t
...
On Vulkan, some handles are meant to always be u64, even on 32-bit
architectures such as arm32.
Fixes #98654
2024-11-06 20:03:56 -03:00
Thaddeus Crews
88d9903f6d
Merge pull request #86138 from EnlightenedOne/master
...
Fix Frustum Sky projection translation logic shearing
2024-11-04 21:52:07 -06:00
Thaddeus Crews
2450dee1bc
Merge pull request #93401 from Repiteo/style/clang-tidy-fixes
...
Style: Apply `clang-tidy` fixes
2024-11-04 21:52:05 -06:00
Thaddeus Crews
2b49543478
Merge pull request #98709 from darksylinc/matias-upsidedown-splash
...
Fix splash screen upside down on Android
2024-11-04 21:52:01 -06:00
Thaddeus Crews
edc60c63f1
Merge pull request #98701 from DarioSamo/rd-graph-improvements
...
Add dependency detection improvements to the render graph.
2024-11-04 21:51:58 -06:00