summaryrefslogtreecommitdiff
path: root/servers/rendering
AgeCommit message (Collapse)Author
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-09Fixed shader error message for instance qualifierZuBsPaCe
Moved argument from RTR to vformat. Message is now similar to uniform-arrays-error further down.
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-06Fix unknown identifier error in for loopYuri Roubinsky
2022-02-05Optimize and fix backbuffer gaussian blurclayjohn
2022-02-05Remove RID_Owner.get_rid_by_indexreduz
* Implementing this function efficiently is not really possible. * Replaced by an option to get all RIDs into a buffer for performance.
2022-02-05Merge pull request #57651 from theoniko/theoniko-effects_rc.cppRémi Verschelde
Fix copy paste bug in renderer_rd/effects_rd.cpp
2022-02-05Few more fixes to for loop in shadersYuri Roubinsky
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-04Cleanup and move char functions to the `char_utils.h` header.bruvzg
2022-02-03Merge pull request #57562 from AnilBK/string-add-containsRémi Verschelde
String: Add contains().
2022-02-04String: Add contains().Anilforextra
2022-02-03Allow multiple declarations in for loop in a shaderYuri Roubinsky
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-26Improve XRInterface hooks into renderingBastiaan Olij
2022-01-25Merge pull request #53954 from Chaosus/fix_quit_errorsRémi Verschelde
2022-01-25Prevent checking of global uniform type outside the editorYuri Roubinsky
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-24Remove incorrect items from completion of main functions in shaderYuri Roubinsky
2022-01-23Update Sky lights in sky setup functionclayjohn
2022-01-23Fix incorrect unused local var warning in shader blocksYuri Roubinsky
2022-01-22Merge pull request #54890 from briansemrau/threadsafe-drawpute-listsRémi Verschelde
Make draw/compute lists threadsafe
2022-01-21Remove TRANSFORM built in from fog shadersclayjohn
2022-01-20Merge pull request #55360 from Calinou/rename-bake-mode-propertiesRémi Verschelde
2022-01-20Merge pull request #53857 from briansemrau/rd-free-rid-bind-renameRé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-19Add translation links to shader errorsYuri Roubinsky
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-18Merge pull request #56893 from Chaosus/shader_unify_vardeclYuri Roubinsky
2022-01-18Unify variable and array declarations in shadersYuri Roubinsky
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-17Fix invalid read when using LightOccluder2DHaoyu Qiu