summaryrefslogtreecommitdiffstats
path: root/doc/classes/DirectionalLight3D.xml
Commit message (Collapse)AuthorAgeFilesLines
* Add keywords to improve search in the class referenceHugo Locurcio2024-02-221-1/+1
|
* Add missing tutorials to documentation classesHugo Locurcio2023-08-191-1/+2
|
* Doctool: Remove version attribute from XML headerRémi Verschelde2023-07-061-1/+1
| | | | | | We don't use that info for anything, and it generates unnecessary diffs every time we bump the minor version (and CI failures if we forget to sync some files from opt-in modules (mono, text_server_fb).
* Bump version to 4.2-devRémi Verschelde2023-07-051-1/+1
| | | | Keep on waitin'
* Bump version to 4.1-devRémi Verschelde2023-03-011-1/+1
| | | | Can't stop, won't stop, they said, huh?
* Add a new HashMap implementationreduz2022-05-121-1/+0
| | | | | | | | | | | | | | | | | 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<>
* Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enumHugo Locurcio2022-03-171-2/+11
| | | | | | | | | | 3 options are available: - Light and Sky (default) - Light Only (new) - Sky Only (equivalent to `use_in_sky_only = true`) Co-authored by: clayjohn <claynjohn@gmail.com>
* Add an XML schema for documentationHugo Locurcio2022-02-151-1/+1
| | | | | | | | This makes it easier to spot syntax errors when editing the class reference. The schema is referenced locally so validation can still work offline. Each class XML's schema conformance is also checked on GitHub Actions.
* Make overridden properties link to parent definitionYuri Sizov2021-12-031-1/+1
| | | | Co-authored-by: Josh DeGraw <joshmdegraw@gmail.com>
* Replace Godot docs URL with `$DOCS_URL` in XML class referenceRémi Verschelde2021-11-151-1/+1
|
* Fix properties being displayed when they shouldn't in DirectionalLight3DHugo Locurcio2021-10-251-5/+5
| | | | | | The parent `_validate_property()` wasn't called, which led to shadow properties being visible even if shadows were disabled on a DirectionalLight3D node.
* Only show relevant properties in the DirectionalLight3D inspectorHugo Locurcio2021-10-251-2/+2
| | | | | | | | | | Some split distance properties are unused depending on the current shadow mode. Also, Blend Splits can only be used if the shadow mode is PSSM 2 Splits or PSSM 4 Splits. This also moves the Fade Start property to be located after the split properties. This avoids intertwining "conditional" properties with a property that's always available.
* Fix several issues with directional shadowsBrian Semrau2021-10-141-2/+2
| | | | | | - Internally disable blend splits in orthogonal directional shadow mode - Fix soft shadows ignoring fade and blend_splits - Fix soft shadow edge stability
* Don't generate empty doc sections and reduce code duplicationAaron Franke2021-09-201-2/+0
|
* Improvements to SpotLight3D and OmniLight3D's shadowsjfons2021-08-191-1/+1
| | | | | | | | | | | | | | | | | OmniLight3D: * Fixed lack of precision in cube map mode by scaling the projection's znear. * Fixed aliasing issues by making the paraboloids use two square regions instead of two half squares. * Fixed shadowmap atlas bleeding by adding padding. * Fixed sihadow blur's inconsistent radius and unclamped sampling. SpotLight3D: * Fixed lack of precision by scaling the projection's znear. * Fixed normal biasing. Both: * Tweaked biasing to make sure it works out of the box in most situations.
* Fix directional shadow biasreduz2021-07-291-1/+0
| | | | | | | | | * Simplified code a lot, bias based on normalized cascade size. * Lets scale cascades, max distance, etc. without creating acne. * Fixed normal biasing in directional shadows. I removed normal biasing in both omni and spot shadows, since the technique can't be easily implemented there. Will need to be replaced by something else.
* Remove leftovers from the DirectionalLight3D Optimized shadow depth rangeHugo Locurcio2021-07-021-9/+0
| | | | | | The Optimized shadow depth range was removed in late 2020 in favor of the Stable shadow depth range, but it still had a (broken) property that allowed to enable it.
* Add sky_only setting to DirectionalLight3Dsclayjohn2020-10-211-0/+3
|
* Add link titles for all links in the class referenceHugo Locurcio2020-08-311-1/+1
| | | | | This makes them display in a nicer way in the editor help. (The title will display instead of the full URL.)
* doc: Sync classref with current sourceRémi Verschelde2020-06-251-0/+2
|
* Add performance hints to the DirectionalLight shadow mode property hintHugo Locurcio2020-06-011-4/+4
| | | | This also clarifies some parts in the DirectionalLight documentation.
* Update many docs with recent rendering changesclayjohn2020-04-171-6/+3
|
* doc: Update classref with node renamesRémi Verschelde2020-03-301-0/+63
A few extra renames for classes which were missed in last week's PRs.