summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd
AgeCommit message (Collapse)Author
2021-10-30Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3Hugo Locurcio
- Use lowercase driver names for the `--rendering-driver` command line argument.
2021-10-29Fix crash when opening a converted `FogMaterial`Yuri Roubinsky
2021-10-28Addition of FogVolumes, FogShaders, FogMaterial, and overhaul of VolumetricFogclayjohn
Co-authored-by: Brian Semrau <brian.semrau@gmail.com>
2021-10-28Merge pull request #54350 from akien-mga/clang-format-dont-align-operandsRémi Verschelde
2021-10-28Merge pull request #54222 from JFonS/instance-fadeRémi Verschelde
2021-10-28clang-format: Various fixes to comments alignment from `clang-format` 13Rémi Verschelde
All reviewed manually and occasionally rewritten to avoid bad auto formatting.
2021-10-28clang-format: Disable alignment of operands, too unreliableRémi Verschelde
Sets `AlignOperands` to `DontAlign`. `clang-format` developers seem to mostly care about space-based indentation and every other version of clang-format breaks the bad mismatch of tabs and spaces that it seems to use for operand alignment. So it's better without, so that it respects our two-tabs `ContinuationIndentWidth`.
2021-10-26Fix shadow disabling on mobile rendererJoan Fons
2021-10-25Fix shadow disabling settingsjfons
Fixes the SHADOW_CASTING_SETTING_OFF setting in GeometryInstance3D and the "shadows_disabled" render mode in spatial materials, which were not working before.
2021-10-25Implement distance fade and transparencyJFonS
The built-in ALPHA in spatial shaders comes pre-set with a per-instance transparency value. Multiply by it if you want to keep it. The transparency value of any given GeometryInstance3D is affected by: - Its new "transparency" property. - Its own visiblity range when the new "visibility_range_fade_mode" property is set to "Self". - Its parent visibility range when the parent's fade mode is set to "Dependencies". The "Self" mode will fade-out the instance when reaching the visibility range limits, while the "Dependencies" mode will fade-in its dependencies. Per-instance transparency is only implemented in the forward clustered renderer, support for mobile should be added in the future. Co-authored-by: reduz <reduzio@gmail.com>
2021-10-22Merge pull request #53992 from Calinou/hard-shadow-mapping-allow-ditheringRémi Verschelde
2021-10-21Add Soft Very Low shadow quality mode for 3DHugo Locurcio
This can be used to improve 3D shadow rendering quality at little performance cost. Unlike the existing Hard setting which is limited to variable shadow blur only, it works with both fixed blur and variable blur.
2021-10-21Fix built-in texture samplers passing for spatial shader modeYuri Roubinsky
2021-10-20Prevent a rendering crash and error spam for uniform texture arrayYuri Roubinsky
2021-10-19Merge pull request #53972 from zedutch/fix-shader-time-updateRémi Verschelde
Fix shaders using `TIME` not continuously updating
2021-10-19Merge pull request #53790 from briansemrau/remove-distant-shadowy-voidRémi Verschelde
2021-10-19Merge pull request #52940 from groud/toast_notificationRémi Verschelde
2021-10-18Fix shaders that use TIME do not force editor to continuously updateRobin Arys
2021-10-15Swap args of Plane(point, normal) constructormennomax
Now (normal, point)
2021-10-15Merge pull request #53815 from Chaosus/fix_wireframe_render_modeRémi Verschelde
2021-10-15Fix `wireframe` render modeYuri Roubinsky
2021-10-14Remove incorrect fog height density remappingBrian Semrau
2021-10-14Fix several issues with directional shadowsBrian Semrau
- Internally disable blend splits in orthogonal directional shadow mode - Fix soft shadows ignoring fade and blend_splits - Fix soft shadow edge stability
2021-10-14Implement toast notifications in the editorGilles Roudière
2021-10-14Fix the height fog effectBrian Semrau
2021-10-13Added few more built-ins to shader languageYuri Roubinsky
2021-10-12Merge pull request #53712 from CakHuri/nullptrRémi Verschelde
Replace NULL with nullptr
2021-10-12Replaced NULL with nullptrM. Huri
2021-10-12Fix some LGTM errors of "Multiplication result converted to larger type"Aaron Franke
2021-10-11Fix shader crash on using METALLIC and ROUGHNESS built-ins in light funcYuri Roubinsky
2021-10-07Remove unimplemented `Environment.ambient_light_occlusion_color` propertyHugo Locurcio
This property was intended to provide a way to have SSAO or VoxelGI ambient occlusion with a color other than black. However, it was dropped during the Vulkan renderer development due to the performance overhead it caused when the feature wasn't used.
2021-10-07Merge pull request #53491 from Chaosus/shader_fix_texture_array_uniformsYuri Roubinsky
2021-10-07Merge pull request #53504 from clayjohn/VULKAN-sky-bugRémi Verschelde
Remove bogus sky error check
2021-10-07Merge pull request #51115 from clayjohn/VULKAN-SSAO-radiusRémi Verschelde
Move assignment of SSAO radius push constant
2021-10-06Remove bogus sky error checkclayjohn
2021-10-06Fix regression which prevents using texture array uniformsYuri Roubinsky
2021-10-04Added support for uniform arrays in shadersYuri Roubinsky
2021-09-30Use range iterators for `Map`Lightning_A
2021-09-29Rename RID's `getornull()` to `get_or_null()`Hugo Locurcio
2021-09-29radial fog fixManuel Dun
2021-09-29Fix editor freeze when asigning Skeleton2D to Polygon2DHendrik Brucker
2021-09-28Merge pull request #53072 from CaptainProton42/fix-gpuparticles3d-generate-aabbRémi Verschelde
2021-09-28Fix access to render target texture for XR interfacesBastiaan Olij
2021-09-26Fix GPUParticles3D local_coordsCaptainProton42
2021-09-26Fix GPUParticles3D generate AABBCaptainProton42
2021-09-25Construct values only when necessary.Anilforextra
2021-09-23Construct values only when necessary.Anilforextra
2021-09-21Add Get Center Method for Rect2/Rect2i and AABB.Anilforextra
2021-09-17Merge pull request #52409 from GiantBlargg/position-depth-pre-passRémi Verschelde
2021-09-13Merge pull request #49063 from Calinou/remove-16x-msaaRémi Verschelde
Remove 16× MSAA support due to driver bugs and low performance