summaryrefslogtreecommitdiffstats
path: root/servers/rendering/renderer_rd/environment
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@f128f383e892865379cb8b14e7bcc9858efe2973Spartan3222024-11-272-6/+6
|\
| * Resolve load and store ops automatically for render passes for discardable ↵Dario2024-11-252-6/+6
| | | | | | | | textures.
* | Merge commit godotengine/godot@9e6098432aac35bae42c9089a29ba2a80320d823Spartan3222024-11-202-59/+66
|\|
| * Unify y-flip behavior for sky in RD backendsclayjohn2024-11-192-59/+66
| |
* | Merge commit godotengine/godot@87318a2fb7fffeb72adca934e31915be077c3d1fSpartan3222024-11-061-1/+1
|\|
| * Style: Apply `clang-tidy` fixes (superficial)Thaddeus Crews2024-11-041-1/+1
| | | | | | | | • `modernize-use-bool-literals`, `modernize-use-nullptr`, and `readability-braces-around-statements`
* | Merge commit godotengine/godot@8004c7524fb9f43425c4d6f614410a76678e0f7cSpartan3222024-10-304-9/+9
|\|
| * Set clang-format `RemoveSemicolon` rule to `true`Adam Scott2024-10-254-9/+9
| | | | | | | | - Set clang-format `Standard` rule to `c++20`
* | Fix copyright headers referring to GodotSpartan3222024-10-276-12/+12
| |
* | Merge commit godotengine/godot@1015a481ff43edb1126ab39a147fefda290131e5Spartan3222024-10-241-26/+54
|\|
| * Merge pull request #86103 from ecmjohnson/fix-inside-volfogThaddeus Crews2024-10-241-26/+54
| |\ | | | | | | | | | Fix volumetric fog artifacts when inside the fog
| | * Fix volumetric fog artifacts when inside the fogErik Johnson2024-03-241-26/+54
| | |
* | | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-116-0/+12
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* | SCons: Add unobtrusive type hints in SCons filesThaddeus Crews2024-09-251-0/+1
| |
* | Style: Apply new `clang-format` changesThaddeus Crews2024-09-202-4/+4
| |
* | Merge pull request #95990 from Breush/76166-sky-auto-radianceRémi Verschelde2024-09-041-1/+1
|\ \ | | | | | | | | | Sky: Adapt radiance size if `AUTOMATIC_MODE` resolves to `REALTIME`
| * | Sky: No more auto-selecting REALTIME mode if radiance is not 256Alexis Breust2024-09-041-1/+1
| | |
* | | Fix SkyRD::Sky::free() freeing materialComycSans2024-09-021-1/+0
| | |
* | | Add debug utilities for VulkanMatias N. Goldberg2024-08-211-1/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Features: - Debug-only tracking of objects by type. See get_driver_allocs_by_object_type et al. - Debug-only Breadcrumb info for debugging GPU crashes and device lost - Performance report per frame from get_perf_report - Some VMA calls had to be modified in order to insert the necessary memory callbacks Functionality marked as "debug-only" is only available in debug or dev builds. Misc fixes: - Early break optimization in RenderingDevice::uniform_set_create ============================ The work was performed by collaboration of TheForge and Google. I am merely splitting it up into smaller PRs and cleaning it up.
* | SDFGI: fix crash if update_data is nullptrGarteal2024-07-191-0/+4
| |
* | [Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`A Thousand Ships2024-05-021-2/+2
| | | | | | | | Convenience for a number of cases operating on single values
* | Revert change to default depth clear value in draw_list_beginclayjohn2024-04-171-2/+2
| |
* | Use Reverse Z for the depth bufferKhasehemwy2024-04-042-5/+13
|/
* Use `Vector*` component-wise `min/max/clamp` functions where applicableA Thousand Ships2024-03-201-5/+3
|
* Fix Volumetric Fog VoxelGI updatesbitsawer2024-03-012-2/+9
|
* Implement hooks into rendererBastiaan Olij2024-02-181-1/+1
|
* Acyclic Command Graph for RenderingDevice.Dario2024-01-084-37/+52
| | | | Adds a new system to automatically reorder commands, perform layout transitions and insert synchronization barriers based on the commands issued to RenderingDevice.
* Fix potential integer underflow in rounded up divisionsEddieBreeg2024-01-022-4/+4
| | | | | | | | | | A new `Math::division_round_up()` function was added, allowing for easy and correct computation of integer divisions when the result needs to be rounded up. Fixes #80358. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
* Merge pull request #81167 from bitsawer/fix_sdfgi_editor_changeRémi Verschelde2023-10-252-0/+9
|\ | | | | | | Reset SDFGI when changing editor scene tabs
| * Reset SDFGI when changing editor scene tabsbitsawer2023-08-302-0/+9
| |
* | Merge pull request #82877 from tomissj2/masterRémi Verschelde2023-10-051-1/+1
|\ \ | | | | | | | | | Fog shader: Fix undeclared identifier `global_variables`
| * | Fog Shader bugfix: 'global_variables' : undeclared identifiertomissj22023-10-051-1/+1
| | | | | | | | | | | | | | | If user try to use a global shader variable in a fog type shader we are getting shader error. The reason of this there is a typo in the fog.cpp. I other well working shaders types like sky the "action.global_buffer_array_variable" is "global_shader_uniforms.data". The investigation tracked here: https://discord.com/channels/212250894228652034/1158918161337434172
* | | Merge pull request #80992 from viksl/volumetric-fog-NaN-issuesRémi Verschelde2023-10-051-2/+2
|\ \ \ | |/ / |/| | | | | Fix volumetric fog NaN values in textures from starting at a zero Vector2.
| * | Instead of Vector2() start volumetric fog at frustum_near_size to avoid INF ↵viksl2023-08-281-2/+2
| | | | | | | | | | | | and NaN in shaders.
* | | [Servers] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-255-70/+70
| | |
* | | Add FidelityFX Super Resolution 2.2 (FSR 2.2.1) support.Dario2023-09-252-5/+8
| | | | | | | | | | | | Introduces support for FSR2 as a new upscaler option available from the project settings. Also introduces an specific render list for surfaces that require motion and the ability to derive motion vectors from depth buffer and camera motion.
* | | Fix mipmap bias behavior by refactoring how samplers are created by Material ↵Dario2023-09-062-2/+2
| |/ |/| | | | | | | | | Storage. Introduces a new structure to store samplers created with certain parameters instead of storing a 'custom' set of samplers. Allows viewports to correctly configure the mipmap bias and use it when rendering the scene.
* | Clear SDFGI textures when createdbitsawer2023-08-281-42/+31
|/
* Merge pull request #80215 from clayjohn/HDR-2DRémi Verschelde2023-08-082-2/+2
|\ | | | | | | Add option to enable HDR rendering in 2D
| * Add option to enable HDR rendering in 2Dclayjohn2023-08-072-2/+2
| | | | | | | | | | | | | | This is needed to allow 2D to fully make use of 3D effects (e.g. glow), and can be used to substantially improve quality of 2D rendering at the cost of performance Additionally, the 2D rendering pipeline is done in linear space (we skip linear_to_srgb conversion in 3D tonemapping) so the entire Viewport can be kept linear. This is necessary for proper HDR screen support in the future.
* | Merge pull request #80356 from darksylinc/voxelgi-dispatch-underflowRémi Verschelde2023-08-071-2/+2
|\ \ | | | | | | | | | Fix integer underflow when rounding up in VoxelGI
| * | Fix integer underflow when rounding up in VoxelGIMatias N. Goldberg2023-08-061-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | The code wanted to divide and round up: - 0 / 64 = 0 - 63 / 64 = 1 - 64 / 64 = 1 - 65 / 64 = 2 However when the dividend was exactly 0 it would underflow and produce 67108864 instead. This caused TDRs on empty scenes or extremely slow performance Fix #80286
* | Merge pull request #80311 from darksylinc/matias-fullscreen-triRémi Verschelde2023-08-072-25/+1
|\ \ | | | | | | | | | Use fullscreen tri instead of quad
| * | Draw sky as a fullscreen triangleMatias N. Goldberg2023-08-052-25/+1
| |/
* / Fix various typos with codespellRémi Verschelde2023-08-071-1/+1
|/ | | | | | | | | Also includes typo fixes from #79993, #80068, #80276, and #80303. Co-authored-by: betalars <contact@betalars.de> Co-authored-by: spaceyjase <429978+spaceyjase@users.noreply.github.com> Co-authored-by: Swarkin <102416174+Swarkin@users.noreply.github.com> Co-authored-by: Raul Santos <raulsntos@gmail.com>
* Use defaults to initialize sky data in case of no skyParsleigh Scumble2023-07-241-100/+104
|
* Merge pull request #77740 from ChibiDenDen/simplify_vulkanYuri Sizov2023-07-124-53/+18
|\ | | | | | | Replace sampler arrays with constant sampler elements, simplify and reuse code for all shaders
| * replace sampler arrays with constant sampler elementsChibiDenDen2023-06-224-53/+18
| |
* | Fix volumetric fog in stereo by projection vertex in combined spaceBastiaan Olij2023-06-202-24/+33
| |
* | Fix management of life cycle of vol. fog related uniform setsPedro J. Estébanez2023-05-312-18/+26
|/