summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd
AgeCommit message (Collapse)Author
2022-10-14Make some Image methods statickobewi
2022-10-13Merge pull request #67335 from clayjohn/GLES3-2d-lightsRémi Verschelde
Add 2D lights to OpenGL3 canvas renderer
2022-10-13Merge pull request #67320 from Calinou/fix-volumetric-fog-low-densityRémi Verschelde
Fix volumetric fog not rendering at densities lower than or equal to 0.001
2022-10-13Merge pull request #67307 from TechnoPorg/lod-radial-distanceRémi Verschelde
Use radial distance for making LOD decisions.
2022-10-12Add 2D lights to OpenGL3 canvas rendererclayjohn
This is an initial implementation using the same single-pass approach as the RenderingDevice.
2022-10-13Fix volumetric fog not rendering at densities lower than or equal to 0.001Hugo Locurcio
This allows volumetric fog to render with the lowest density that can be specified in the inspector (0.0001).
2022-10-12Use radial distance for making LOD decisions.TechnoPorg
Previously, only forward basis distance from the camera was used. This means that unnecessarily high LOD levels were used for objects located to the side of the camera. The distance from the camera origin is now used, independently of direction.
2022-10-11Merge pull request #67110 from Chaosus/fix_incorrect_vec3_ubo_fillClay John
Fix incorrect offset for vec3 datatypes in `_fill_std140_ubo_empty`
2022-10-11Restrict MSAA attachment usage to the strictly needed setPedro J. Estébanez
2022-10-11Merge pull request #67176 from cooperra/negative-scale-culling-fixRémi Verschelde
Vulkan Clustered: Fix culling of negatively-scaled objects
2022-10-11Merge pull request #67000 from RandomShaper/split_render_furtherRémi Verschelde
Polish rendering driver refactor further
2022-10-10SCons: Re-enable treating `#warning` as error with `werror`Rémi Verschelde
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10Vulkan Clustered: Fix culling of negatively-scaled objectsRobbie Cooper
Negatively scaled objects should be mirrored. This is already implemented, but it breaks when mirrored and non-mirrored instances of the same object are visible together. It turns out that the code that skips-over repeats in `RenderForwardClustered::_render_list_template` also skips the code that accounts for the culling mode of mirrored objects. The solution here is to consider the `mirror` flag when determining repeats. This might result in more draw commands than necessary since a mirrored object can split a group of non-mirrored instances in two. This problem doesn't appear in the mobile renderer because the repeat optimization isn't implemented there yet. The problem still appears in MultiMeshInstance3D in *all* renderers. Fixes #62879 and #58546.
2022-10-09Fix incorrect offset for vec3 datatypes in `_fill_std140_ubo_empty`Yuri Rubinsky
2022-10-07Allow clearing backbuffer after finishing CanvasGroupclayjohn
This avoids an issue where having multiple CanvasGroups overlap would create a weird artifact
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-06Merge pull request #66756 from BastiaanOlij/fix_ssrRémi Verschelde
Fixing artifacts in SSR
2022-10-06Polish rendering driver refactor furtherPedro J. Estébanez
Mainly: - Make `max_descriptors_per_pool` project setting Vulkan-specific. - Use a common, render driver agnostic magic FourCC for shader binary data. - Downgrade spirv_reflect to Vulkan-only dependency. - Add a `RENDER_DRIVER_*` macro to GLSL shader code for per-driver customizations.
2022-10-05Merge pull request #66922 from BastiaanOlij/fix_direct_shadowRémi Verschelde
Make sure atlas rect for directional lights is calculated using floats
2022-10-05Make sure atlas rect for directional lights is calculated using floatsBastiaan Olij
2022-10-05Merge pull request #66683 from clayjohn/SRGB-canvasitemRémi Verschelde
Default CanvasItem materials to use sRGB space for uniform colors
2022-10-05Merge pull request #66898 from aaronfranke/proj-mat-columnsRémi Verschelde
Rename Projection `matrix` to `columns`
2022-10-05Adding getters to RenderTarget and implementing override functionality for XRBastiaan Olij
2022-10-04Rename Projection `matrix` to `columns`Aaron Franke
2022-10-04Fixing artifacts in SSRBastiaan Olij
2022-10-04Moving SSEffects settings into classBastiaan Olij
2022-10-04Move cluster builder, sdfgi and gi structures to clustered renderer, move ↵Bastiaan Olij
light and probe elements into storage and reorganise our render_scene method.
2022-10-02Update Instance flags in shaders to match instance flags in engineclayjohn
2022-09-30Default CanvasItem materials to not convert uniform colors to linear space.clayjohn
The 2D renderer in Godot is totally in sRGB space so it is appropriate to keep 2D uniform colors in sRGB space
2022-09-30Fix typos with codespellRémi Verschelde
Using codespell 2.3-dev from current git. And fix typo in `methods.py` for `vsproj=yes` option (still won't work though).
2022-09-30Merge pull request #66178 from clayjohn/double-precision-renderingRémi Verschelde
Emulate double precision for regular rendering operation when REAL_T_IS_DOUBLE
2022-09-30Merge pull request #66638 from timothyqiu/rendering-nullRémi Verschelde
Add various null checks in RenderingServer
2022-09-30Merge pull request #66626 from danboo/fix-typo-run-debug-collisonsRémi Verschelde
Fix typos - "collison" -> "collision"
2022-09-30Add various null checks in RenderingServerHaoyu Qiu
2022-09-29Fix typo - "collison" -> "collision"danboo
2022-09-29Merge pull request #66583 from bruvzg/constexprRémi Verschelde
Use `constexpr` in the conditions with template parameters and `sizeof`s to suppress C4127 warnings.
2022-09-29Merge pull request #66565 from clayjohn/canvas-lightsRémi Verschelde
Clean up canvas light shader API.
2022-09-29Use `constexpr` in the conditions with template parameters and `sizeof`s to ↵bruvzg
suppress C4127 warnings.
2022-09-28Clean up canvas light shader API.clayjohn
Expose LIGHT_ENERGY and LIGHT_IS_DIRECTIONAL. Add LIGHT_DIRECTION
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