summaryrefslogtreecommitdiff
path: root/servers/rendering
AgeCommit message (Collapse)Author
2022-11-04Add call_deferred() method to Callablekobewi
2022-11-03Collapse three seperate texture storage methods into ↵David Snopek
render_target_set_override()
2022-11-03Merge pull request #67878 from clayjohn/RD-particles-amountRémi Verschelde
Correctly set number of particle dispatches when setting view axis
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02Merge pull request #52350 from BimDav/viewport_canvas_cullRémi Verschelde
Added Viewport canvas cull mask feature
2022-11-02Merge pull request #67639 from clayjohn/GLES3-2d-shadowsRémi Verschelde
Add 2D shadows and canvas SDF to OpenGL3 renderer
2022-11-01Fix predefined constants to be accessible in the shader includesYuri Rubinsky
2022-10-31Viewport canvas cull mask featureBimDav
Co-authored-by: Valentin Zagura <puthre@gmail.com>
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Make code generation for shader boolean uniform instances easierYuri Rubinsky
2022-10-31Merge pull request #67519 from BastiaanOlij/change_xr_pre_draw_viewportRémi Verschelde
Changing timing of call to xr_interface->pre_draw_viewport
2022-10-31Merge pull request #67907 from clayjohn/RD-model-matrixRémi Verschelde
Correctly rename to read_model_matrix when using shader builtins that rely on model matrix
2022-10-31Merge pull request #67915 from RevoluPowered/fix-intel-macbook-crash-subgroupsRémi Verschelde
Ensure vulkan subgroups are disabled for MoltenVK
2022-10-28Merge pull request #67112 from Chaosus/fix_boolean_uniform_instancesYuri Rubinsky
2022-10-28Add 2D shadows and canvas SDF to OpenGL3 rendererclayjohn
This is an initial implementation based on the current RD implementation Performance will improve later
2022-10-28Merge pull request #67498 from Chaosus/fix_shader_crashYuri Rubinsky
2022-10-27Fix ss_effects_flags uniform in clustered forward rendererclayjohn
This comes from an uncaught merge conflict resulting from the split of scene_data into scene_data and implementation_data
2022-10-27Merge pull request #66107 from devloglogan/ambient-light-disabled-fixClay John
Fix ambient_light_disabled render mode flag
2022-10-27Merge pull request #64710 from MinusKube/window-size-crashClay John
Prevent windows from having a size greater than device limit
2022-10-27Merge pull request #67043 from clayjohn/clip_childrenClay John
Improve behaviour of clip_children by clipping to parent alpha value but still retaining parent color
2022-10-27Merge pull request #66383 from aaronfranke/basis-from-eulerClay John
Clean up Basis from Euler code
2022-10-26Ensure vulkan subgroups are disabled for MoltenVKGordon MacPherson
We found they don't work on intel macbooks properly at all. Possible future solutions: - update to moltenvk. - update to spirv may resolve it.
2022-10-26Fix EXE_BAD_ACCESS caused by optional argumentGordon MacPherson
This argument is now non optional, but this never hits the same bad access. I voted to simplify the code here since the argument is never used optionally in our codebase.
2022-10-26Correctly rename to read_model_matrix when using shader builtins that rely ↵clayjohn
on model matrix
2022-10-25Correctly set number of particle dispatches when setting view axisclayjohn
2022-10-21Clean up Basis from Euler codeAaron Franke
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-18Code simplificationsMarkus Sauermann
1. Viewport::get_visible_rect().position is always zero. So Control::get_window_rect is identical to Control::get_global_rect. Remove Control::get_window_rect since it is not used in the source code. 2. sqrt(a * a) = abs(a) for doubles 3. Simplify affine_inverse combination 4. Simplify calculation in shaders
2022-10-17Changing timing of call to xr_interface->pre_draw_viewportBastiaan Olij
2022-10-16Fix editor crash when assigning some uniform hints to the texturesYuri Rubinsky
2022-10-14Implement multiple clip_children modes for CanvasItemsclayjohn
2022-10-14Make some Image methods statickobewi
2022-10-13Improve behaviour of clip_children by clippingclayjohn
to parent alpha value, but still retaining parent color
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-11Merge pull request #67270 from RandomShaper/slim_usage_msaa_attachmentRémi Verschelde
Restrict MSAA attachment usage to the strictly needed set
2022-10-11Restrict MSAA attachment usage to the strictly needed setPedro J. Estébanez
2022-10-11Merge pull request #66221 from Mickeon/painstakingly-appending-ds-en-you-tea-esRémi Verschelde
Rename remaining "*_enable" to "*_enabled"
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 #64268 from timothyqiu/is-finiteRémi Verschelde
Add `is_finite` method for checking built-in types
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 setup of boolean uniform instancesYuri Rubinsky
2022-10-09Fix incorrect offset for vec3 datatypes in `_fill_std140_ubo_empty`Yuri Rubinsky