summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd
AgeCommit message (Collapse)Author
2022-02-11RendererRD: Remove binding specifier for push constantsRémi Verschelde
This is unsupported and glslang made it raise an error in 11.7.0: https://github.com/KhronosGroup/glslang/pull/2810 Co-authored-by: Clay John <claynjohn@gmail.com>
2022-02-11Merge pull request #57888 from dusakus/depanoramize-spot-projectorRémi Verschelde
remove normal_to_panorama from spotlight projector
2022-02-10Fix 3D sky update performance regressionHugo Locurcio
2022-02-10Merge pull request #57535 from Calinou/visibility-range-fade-use-easingRémi Verschelde
2022-02-10Merge pull request #57104 from clayjohn/VULKAN-sky-conflictRémi Verschelde
2022-02-10Merge pull request #54677 from Calinou/voxelgi-default-low-qualityRémi Verschelde
2022-02-10Merge pull request #39965 from Calinou/tweak-sdfgi-defaultsRémi Verschelde
2022-02-10Merge pull request #57707 from Calinou/sdfgi-tweak-default-num-cascadesRémi Verschelde
2022-02-10Merge pull request #57628 from Calinou/shadow-atlas-default-enable-16-bitsRémi Verschelde
2022-02-09remove normal_to_panorama from spotlight projectorBartłomiej Dusak
2022-02-07Merge pull request #57682 from clayjohn/VULKAN-canvas-blurRémi Verschelde
2022-02-06Merge pull request #56844 from Calinou/ssr-fix-background-line-masterRémi Verschelde
Fix visible background line in intersections in screen-space reflections
2022-02-06Tweak default SDFGI settings for better qualityHugo Locurcio
- Enable Read Sky Light to get proper outdoors lighting out of the box. - Set bounce feedback to 0.5 by default to get a better quality result. - Higher values may cause infinite feedback with bright surfaces. - Increase the number of frames to converge to improve quality at the cost of latency. Most scenes are fairly static after all. - Use 75% Y scale by default as most scenes are not highly vertical. - Reorder the Y scale enum to go from the lowest Y scale to the highest. Also rename the "Disabled" setting to "100%" for clarity.
2022-02-06Decrease the default number of SDFGI cascades to 4Hugo Locurcio
This improves rendering performance noticeably, especially when the camera moves fast. On a medium-sized test scene on a GTX 1080 in 2560×1440, going from 6 to cascades saves 0.5 ms of frame time while looking visually identical (as most of the scene fits within the 4 cascades).
2022-02-05Optimize and fix backbuffer gaussian blurclayjohn
2022-02-05Fix copy paste bug in renderer_rd/effects_rd.cpptheoniko
2022-02-04Enable 16-bit shadow atlas by default in the RenderingServer methodsHugo Locurcio
16-bit shadow atlases are already the default in the project settings, but low-level methods used 24-bit shadows by default. This makes low-level methods more consistent with the default project settings to avoid accidental performance issues when users change the shadow size at run-time.
2022-02-01Make visibility range alpha fade smootherHugo Locurcio
`smoothstep()` avoids the sudden transparency jump when entering or leaving an object's alpha fade margin distance. This in turn helps make opacity transitions less noticeable to the player, as it's less likely to catch the player's eye.
2022-02-02Vectors: Use clear() and has().Anilforextra
Use clear() instead of resize(0). Use has() instead of "find(p_val) != -1".
2022-01-30Fix orthogonal camera auto LOD calculationorosmatthew
- Do not take orthogonal camera's distance into account when calculating LOD. - Only take into account screen size taken up.
2022-01-29simplify formatting scripts, add a clang-tidy script, and run clang-tidyNathan Franke
2022-01-26Merge pull request #54574 from Ansraer/glow_mapRémi Verschelde
2022-01-25Merge pull request #53954 from Chaosus/fix_quit_errorsRémi Verschelde
2022-01-24Minor fixes to shadow atlases:jfons
* Erase shadow owner *before* setting it to RID(). * Add default texture in shadow atlas debug view to avoid error spam when no atlas is present. * Fix typo.
2022-01-23Update Sky lights in sky setup functionclayjohn
2022-01-20Merge pull request #55360 from Calinou/rename-bake-mode-propertiesRémi Verschelde
2022-01-20add support for glow mapsAnsraer
2022-01-20Add nodiscard to core math classes to catch c++ errors.lawnjelly
A common source of errors is to call functions (such as round()) expecting them to work in place, but them actually being designed only to return the processed value. Not using the return value in this case in indicative of a bug, and can be flagged as a warning by using the [[nodiscard]] attribute.
2022-01-19Revert "Add new scaling modes for splash screen"Rémi Verschelde
This reverts commit fcc9f5ce396ff921ed8253f657a8c9c38e7a878d. The feature is good but the implementation still needs more work. A new PR will be made with a rework of this commit.
2022-01-19Merge pull request #54489 from briansemrau/texture-delete-updateRémi Verschelde
2022-01-18Add new scaling modes for splash screenSamuel Pedrajas
Removes the `fullsize` option which is superseded by `stretch_mode`. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2022-01-18Merge pull request #56761 from Calinou/sdfgi-allow-any-number-of-cascadesRémi Verschelde
2022-01-17Fix volumetric fog memory leak on resizeclayjohn
2022-01-17Allow using between 1 and 8 cascades for SDFGIHugo Locurcio
This provides more flexibility between performance and quality adjustments, especially when using SDFGI for small-scale levels (which can be useful for procedurally generated scenes).
2022-01-16Fix visible background line in intersections in screen-space reflectionsHugo Locurcio
Adjusting the step grading by one resolves the issue without affecting performance or introducing adverse artifacts.
2022-01-16Merge pull request #56309 from Calinou/remove-pvrtc-supportRémi Verschelde
2022-01-15Remove mistakenly added push constant from SSRclayjohn
2022-01-14Remove support for PVRTC texture encoding and decodingHugo Locurcio
On the only platform where PVRTC is supported (iOS), ETC2 generally supersedes PVRTC in every possible way. The increased memory usage is not really a problem thanks to modern iOS' devices processing power being higher than its Android counterparts.
2022-01-13Fix various typosluz paz
Found via `codespell -q 3 -S ./thirdparty,*.po,./DONORS.md -L ackward,ang,ans,ba,beng,cas,childs,childrens,dof,doubleclick,expct,fave,findn,gird,hist,inh,inout,leapyear,lod,nd,numer,ois,ony,paket,ro,seeked,sinc,switchs,te,uint,varn,vew`
2022-01-12Fix cannot use gaussian blur errorclayjohn
2022-01-12Merge pull request #56492 from akien-mga/remove-author-docstringsRémi Verschelde
2022-01-12Merge pull request #55656 from clayjohn/GLSL3-compilerRémi Verschelde
2022-01-11New OpenGL batching canvas rendererclayjohn
2022-01-12Use List Initializations for Vectors.Anilforextra
2022-01-08Use fill() to fill an entire image instead of setting pixels individually.Anilforextra
2022-01-06Fix queueing a texture and regular uniform update in RD backend in succession.SaracenOne
2022-01-05Added material_overlay property to MeshInstance3DFernando Cosentino
Applying overlay materials into multi-surface meshes currently requires adding a next pass material to all the surfaces, which might be cumbersome when the material is to be applied to a range of different geometries. This also makes it not trivial to use AnimationPlayer to control the material in case of visual effects. The material_override property is not an option as it works replacing the active material for the surfaces, not adding a new pass. This commit adds the material_overlay property to GeometryInstance3D (and therefore MeshInstance3D), having the same reach as material_override (that is, all surfaces) but adding a new material pass on top of the active materials, instead of replacing them.
2022-01-05Merge pull request #56220 from ↵JFonS
williamd67/GPULightmapper-implement-sky-ambient-light GPULightmapper: react on sky ambient properties
2022-01-05Merge pull request #56208 from williamd67/GPULightmapper-sky-upside-downRémi Verschelde
2022-01-05Merge pull request #56278 from GanidhuAbey/dof_msaa_bugRémi Verschelde