summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd
AgeCommit message (Collapse)Author
2022-09-29Use `constexpr` in the conditions with template parameters and `sizeof`s to ↵bruvzg
suppress C4127 warnings.
2022-09-28Fix MSVC warning C4702: unreachable codeRémi Verschelde
Part of #66537.
2022-09-27Merge pull request #66466 from clayjohn/FXAA-fixRémi Verschelde
Take FXAA samples from half-pixel coordinates to improve quality
2022-09-27Merge pull request #66370 from bitbrain/fix-light2d-blend-modesRémi Verschelde
Fix broken 2D light blending, addresses #49922
2022-09-27Merge pull request #66317 from clayjohn/debanding-bugRémi Verschelde
Move deband to end of tonemapping.
2022-09-26Take FXAA samples from half-pixel coordinates to improve qualityclayjohn
2022-09-26Merge pull request #66394 from bitbrain/fix-unshaded-canvas-modulateRémi Verschelde
Fix Unshaded CanvasItem for Vulkan
2022-09-26Make dependencies with shader includes in subfoldersBastiaan Olij
2022-09-25do not apply modulate on canvas when unshaded is setMiguel Gonzalez Sanchez
2022-09-24fix broken 2D light blending, addresses #49922Miguel Gonzalez Sanchez
2022-09-23Move deband to end of tonemapping.clayjohn
This avoids artifacts when using adjustments and color correction
2022-09-23Merge pull request #66284 from clayjohn/particles-mem-bugRémi Verschelde
Properly initialize motion vectors offset when motion vectors are disabled
2022-09-22Properly initialize motion vectors offset when motion vectors are disabled.clayjohn
This fixes an uninitialized memory bug that caused particles to fail in non-LTO builds
2022-09-22Fix various -Wmaybe-uninitialized warnings from GCC 12.2.1Rémi Verschelde
Not sure why I didn't get those before, it may be due to upstream changes (12.2.1 is a moving target, it's basically 12.3-dev), or simply rebuilding Godot from scratch with different options.
2022-09-20Merge pull request #65541 from clayjohn/renderer-settingRémi Verschelde
Split rendering driver project setting into renderer_name and rendering_driver
2022-09-19Merge pull request #66065 from kidinashell/issue-59488Rémi Verschelde
SpotLight3D's and OmniLight3D's Projector doesn't work
2022-09-19Split rendering driver project setting into renderer_name and ↵clayjohn
rendering_driver. To differentiate between a driver (e.g. Vulkan or D3D12) and a renderer (e.g. clustered or mobile renderer).
2022-09-19Fix Vulkan: SpotLight3D's and OmniLight3D's Projector doesn't workTobias Widner
2022-09-19Merge pull request #65915 from clayjohn/VULKAN-mobile-fogRémi Verschelde
Restore fog in vulkan mobile renderer.
2022-09-16Restore fog in vulkan mobile renderer.clayjohn
The condition accidentally disabled fog whenever it was enabled
2022-09-16Merge pull request #65833 from JFonS/taa_fix_particles_errorsRémi Verschelde
Fix error spam in the renderer when using GPUParticles3D
2022-09-16Fix error spam in the renderer when using GPUParticles3DJFonS
The flag INSTANCE_DATA_FLAG_MULTIMESH is used for both multimesh and particles instances, this commit adds a new INSTANCE_DATA_FLAG_PARTICLES flag to discriminate between them. This flag will also be used in the future to properly support TAA in particles.
2022-09-16Merge pull request #65794 from Geometror/fix-canvas-backbufferRémi Verschelde
Fix/restore BackBufferCopy
2022-09-15Extract shared scene data into a separate classBastiaan Olij
2022-09-15Fix/restore BackBufferCopyHendrik Brucker
2022-09-15Merge pull request #65322 from ceLoFaN/fix-dof-artifact-at-high-blurRémi Verschelde
2022-09-14Merge pull request #65789 from clayjohn/sky-update-bugRémi Verschelde
Clear last frame directional light buffer when number of lights changes.
2022-09-14Merge pull request #65418 from JFonS/taa_multimeshClay John
Add motion vectors support for MultiMeshInstance
2022-09-14Clear last frame directional light buffer when number of lights changes.clayjohn
This ensures that the buffers don't go out of sync.
2022-09-13Move debanding into internal sky shader code so that it is applied after ↵clayjohn
everything else. This ensures that the debanding does not scale with exposure or any other effect.
2022-09-13Fix uniform buffer being created every frame is SSAO and SSIL half_size is ↵Bastiaan Olij
different
2022-09-12Merge pull request #65544 from clayjohn/lambert-wrapRémi Verschelde
Apply energy conservation to LAMBERT_WRAP diffuse mode by dividing by PI
2022-09-12Apply energy conservation to LAMBERT_WRAP and TOON diffuse modes by dividing ↵clayjohn
by PI
2022-09-12Add motion vectors support for MultiMeshInstancejfons
Transparently handle changes in multimesh transforms so they get reflected in the motion vectors buffer.
2022-09-12Merge pull request #65594 from clayjohn/SSR-dialectricRémi Verschelde
2022-09-12Fixed MSAA initialisation in clustered forward rendererBastiaan Olij
2022-09-09Properly scale SSR reflection based on metallic value for dielectric materialsclayjohn
2022-09-05Fix DoF artifacting at high blur amountsceLoFaN
2022-09-04Replace AABB has_no_volume with has_volumeAaron Franke
Also replace has_no_surface with has_surface
2022-09-02Merge pull request #65170 from KoBeWi/your_argument_is_TypedArrayRémi Verschelde
2022-09-02Merge pull request #64952 from Chaosus/vs_rename_uniform_to_paramRémi Verschelde
2022-09-01Merge pull request #60185 from Calinou/environment-fog-and-sky-affectRémi Verschelde
2022-09-01Add Environment properties to control fog rendering on background skyHugo Locurcio
Values lower than 1.0 can be used to make the fog rendering not fully obstruct the sky. This can be desired when using fog as a purely atmospheric effect, without intending to use fog for open world fog fading. When set to 0.0, fog rendering behavior will be similar to Godot 3.x where sky rendering was never affected by fog.
2022-09-01Change Array arguments to TypedArraykobewi
2022-09-01Extracting render buffers and changing it to a more generic solutionBastiaan Olij
2022-09-01Rename `uniform` to `parameter` across the engineYuri Rubinsky
2022-08-31Implement Physical Light Units as an optional setting.clayjohn
This allows light sources to be specified in physical light units in addition to the regular energy multiplier. In order to avoid loss of precision at high values, brightness values are premultiplied by an exposure normalization value. In support of Physical Light Units this PR also renames CameraEffects to CameraAttributes.
2022-08-31Merge pull request #65130 from BastiaanOlij/fix_mobile_signed_tangentRémi Verschelde
Fix vector type for signed tangent in mobile shader
2022-08-31Fix vector type for signed tangent in mobile shaderBastiaan Olij
2022-08-30Add a per-light volumetric fog energy propertyHugo Locurcio
Per-light energy gives more control to the user on the final result of volumetric fog. Specific lights can be fully excluded from volumetric fog by setting their volumetric fog energy to 0, which improves performance slightly. This can also be used to prevent short-lived dynamic effects from poorly interacting with volumetric fog, as it's updated over several frames by default unless temporal reprojection is disabled. Volumetric fog shadows now obey Light3D's Shadow Opacity property as well. The shadow fog fade property was removed as it had little visible impact on the final scene's rendering.