summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd
AgeCommit message (Collapse)Author
2022-02-18Merge pull request #58266 from clayjohn/revert-sky-changeRémi Verschelde
2022-02-18Merge pull request #58236 from bruvzg/win_min_fixRémi Verschelde
2022-02-17Revert "Fix default sky process mode not being Real-Time"clayjohn
This reverts commit aa1cba1d53270cd14339141082d9d5dc9c3857ef.
2022-02-17Merge pull request #58177 from clayjohn/VULKAN-prefiltered-radianceRémi Verschelde
2022-02-17[Windows] Fix Vulkan driver crash on sub-window minimization.bruvzg
2022-02-16Use prefiltered radianceclayjohn
2022-02-16Style: Cleanup single-line blocks, semicolons, dead codeRémi Verschelde
Remove currently unused implementation of TextureBasisU, could be re-added later on if needed and ported.
2022-02-16Properly exclude lights that are marked as sky onlyclayjohn
2022-02-16Fix default sky process mode not being Real-TimeHugo Locurcio
The change in 09563e4bd8fa4dda8802b3b48f111f3c1de499d8 wasn't consistently carried out everywhere needed.
2022-02-15Add Particle Shader Userdatareduz
* Adds optional vec4 USERDATA1 .. USERDATA6 to particles, allowing to store custom data. * This data is allocated on demand, so shaders that do not use it do not cost more.
2022-02-15Merge pull request #57905 from V-Sekai/fix_instance_clear_warningsRémi Verschelde
Free surface vertex_buffers after vertex_arrays to silence warnings
2022-02-15Merge pull request #57904 from V-Sekai/fix_double_free_warningRémi Verschelde
Fixes some 'Attempted to free invalid ID' warnings in mobile renderer
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-10Free surface vertex_buffers after vertex_arrays due dependenciesSaracenOne
2022-02-10Fix _free_render_buffer_data freeing shared half_texture and half_fbSaracenOne
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