summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd
AgeCommit message (Collapse)Author
2022-06-13Tweak Light3D property hints for greater flexibilityHugo Locurcio
- Specular can now be set above 1.0. - Blur can be set to 0 to disable shadow blurring entirely, which is useful on lights that have a non-zero size. - When shadow blurring is disabled, lights that have a non-zero size will not use PCSS-like soft shadows, speeding up shadow rendering considerably. - Some property hints now allow more precise values.
2022-06-09Fix incorrect sky rotation based on camera axisYuri Rubinsky
2022-06-09Fix `TIME` compilation for custom functions in spatial shaderYuri Rubinsky
2022-06-09Workaround MoltenVK error found in TAA implementationjfons
2022-06-08Assign VIEWPORT_SIZE after validating screen_size to avoid crash when using ↵clayjohn
ReflectionProbe
2022-06-08Merge pull request #61794 from clayjohn/VULKAN-viewport-sizeRémi Verschelde
Use RenderBuffer size instead of half extents for VIEWPORT_SIZE
2022-06-07Use RenderBuffer size instead of half extents for VIEWPORT_SIZE in Vulkan ↵clayjohn
spatial shaders
2022-06-07Initial TAA implementationjfons
Initial TAA support based on the implementation in Spartan Engine. Motion vectors are correctly generated for camera and mesh movement, but there is no support for other things like particles or skeleton deformations.
2022-06-03Merge pull request #61554 from Chaosus/shader_fix_hintsRémi Verschelde
2022-06-01Ensure has_os_features is safely called as it can't be called from within ↵Bastiaan Olij
the construct of RenderingServerDefault on which it relies
2022-05-31Merge pull request #61572 from clayjohn/ssao-licenseRémi Verschelde
2022-05-31Add and improve license attribution for SSAO and SSIL shader codeclayjohn
2022-05-31Refactor shader hintsYuri Rubinsky
2022-05-28Fix error with !rb spam when using background color mode with reflection probesclayjohn
2022-05-25Add Cone and Cylinder shapes to FogVolumeHugo Locurcio
This complements the existing Ellipsoid and Box local fog shapes. This can be used to represent a light cone coming from a SpotLight.
2022-05-24Fix particle system from going inactive earlyGanidhuAbey
Prevents particles from freezing and dissapearing by resetting it's inactive time when particles are emitted.
2022-05-24Merge pull request #60641 from clayjohn/Sky-ignRémi Verschelde
Use IGN instead of white noise for sky dithering
2022-05-24Add clipping, backbuffer, and CanvasGroups to 2D GLES3 rendererclayjohn
As well as significant consequent cleanup in the RenderTarget, Texture, and Canvas renderer code
2022-05-24Use IGN instead of white noise for sky ditheringclayjohn
2022-05-24Merge pull request #60803 from Chaosus/shader_hint_renameRémi Verschelde
Rename `hint_albedo`, `hint_white/black` in shaders
2022-05-21Add timestamps to some rendering effectstrollodel
2022-05-21Merge pull request #61214 from somnathsarkar/particle-attractor-fixRémi Verschelde
Fix GPUParticles3D disappearance at attractor origins
2022-05-20Fix GPUParticles3D disappearance at attractor originsSomnath Sarkar
2022-05-20Add a new HashSet templatereduz
* Intended to replace RBSet in most cases. * Optimized for iteration speed
2022-05-20Fix normal and tangent blending in blend shapesWindy Darian
2022-05-19Use range iterators for RBSet in most casesAaron Record
2022-05-18Fix tonemapper shader to correctly apply alpha channelYuri Rubinsky
2022-05-16Fix custom irradiance bug in Vulkan mobile rendererclayjohn
2022-05-16Replace most uses of Map by HashMapreduz
* Map is unnecessary and inefficient in almost every case. * Replaced by the new HashMap. * Renamed Map to RBMap and Set to RBSet for cases that still make sense (order matters) but use is discouraged. There were very few cases where replacing by HashMap was undesired because keeping the key order was intended. I tried to keep those (as RBMap) as much as possible, but might have missed some. Review appreciated!
2022-05-16Fix computation of screen_uvSomnath Sarkar
2022-05-13Copy_to_fb is available in both raster and clustered renderers, remove ↵Bastiaan Olij
unwanted checks
2022-05-12Merge pull request #60976 from Calinou/fsr-rename-property-hintRémi Verschelde
2022-05-12Merge pull request #60643 from clayjohn/GLES3-3DRémi Verschelde
2022-05-12Basic 3D renderingclayjohn
2022-05-12Rename remaining references of FSR to FSR 1.0Hugo Locurcio
With FSR 2.0 around the corner, we should avoid any ambiguity by explicitly stating the version number.
2022-05-12Add a new HashMap implementationreduz
Adds a new, cleaned up, HashMap implementation. * Uses Robin Hood Hashing (https://en.wikipedia.org/wiki/Hash_table#Robin_Hood_hashing). * Keeps elements in a double linked list for simpler, ordered, iteration. * Allows keeping iterators for later use in removal (Unlike Map<>, it does not do much for performance vs keeping the key, but helps replace old code). * Uses a more modern C++ iterator API, deprecates the old one. * Supports custom allocator (in case there is a wish to use a paged one). This class aims to unify all the associative template usage and replace it by this one: * Map<> (whereas key order does not matter, which is 99% of cases) * HashMap<> * OrderedHashMap<> * OAHashMap<>
2022-05-11SceneShader compilingclayjohn
2022-05-11SkyShaders workingclayjohn
2022-05-11Split out bokeh_dof and copy effectsBastiaan Olij
2022-05-09Rename `hint_albedo`, `hint_white/black` in shadersYuri Roubinsky
2022-05-09Fix instance uniform shader crash in custom functionsYuri Roubinsky
2022-05-05Check multimesh before uniform set creationmightygoat
2022-05-05Fix the uniform set creation of multimesh with a invalidated buffermightygoat
2022-05-04Merge pull request #58298 from Calinou/decal-distance-fade-use-easingRémi Verschelde
2022-05-03Rename Basis get_axis to get_column, remove redundant methodsAaron Franke
2022-05-03Merge pull request #51102 from Calinou/renderingserver-add-api-version-getterRémi Verschelde
Add `get_video_adapter_api_version()` to RenderingServer
2022-05-03Merge pull request #60627 from aaronfranke/rename-elementsRémi Verschelde
Rename Transform2D and Basis `elements` to `columns` and `rows` respectively
2022-05-03Remove `RES` and `REF` typedefs in favor of spelled out `Ref<>`Hugo Locurcio
These typedefs don't save much typing compared to the full `Ref<Resource>` and `Ref<RefCounted>`, yet they sometimes introduce confusion among new contributors.
2022-05-03Add `get_video_adapter_api_version()` to RenderingServerHugo Locurcio
This method can be used to get the graphics API version currently in use (such as Vulkan). It can be used by projects for troubleshooting or statistical purposes.
2022-05-02Make Decal distance fade smootherHugo Locurcio
`smoothstep()` avoids the sudden transparency jump when entering or leaving a decal's distance 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.