summaryrefslogtreecommitdiff
path: root/servers
AgeCommit message (Collapse)Author
2022-03-29Fix canvas_group not being freed in RendererCanvasCull::freeDimitris Nikolaidis
2022-03-29Remove `SHADOW_ATTENUATION` spatial light shader built-inYuri Roubinsky
2022-03-28Remove last editor code dependencies in template buildRémi Verschelde
SConstruct change also makes it possible to outright delete the `editor` folder in a `tools=no` build, which we use in CI to ensure no invalid cross-dependencies are added.
2022-03-28Merge pull request #59553 from reduz/script-extension-supportRémi Verschelde
2022-03-27Add GDExtension support to Scriptreduz
* Ability to create script languages from GDExtension * Some additions to gdnative_extension.h to make this happen * Moved the GDExtension binder to core This now allows creating scripting languages from GDExtension, with the same ease as if it was a module. It replaces the old PluginScript from Godot 3.x. Warning: GodotCPP will need to be updated to support this (it may be a bit of work as ScriptInstance needs to be created over there again).
2022-03-27Rename warp mouse functions to warp_mouseMarkus Sauermann
2022-03-25Fix shader undefined variablenevarek
2022-03-23Add protective checks for invalid handle use in BVHlawnjelly
Adds DEV_ASSERTS that will halt at runtime if the BVH is misused with invalid IDs, and adds ERR_FAIL macros to prevent calling with invalid IDs. Any such misuse is a bug in the physics, but this should flag any errors quickly.
2022-03-22[macOS] Add missing global menu features.bruvzg
2022-03-21Extract Decal and Decal atlas from Storage classBastiaan Olij
2022-03-20Merge pull request #59345 from BastiaanOlij/call_correct_texture_freeRémi Verschelde
Call the correct texture free method on texture storage cleanup
2022-03-20Merge pull request #59346 from rburing/raycast_from_inside_globalRémi Verschelde
Raycasts hitting from inside: return collision point in global coordinates
2022-03-20Raycasts hitting from inside: return collision point in global coordinatesRicardo Buring
2022-03-20Call the correct texture free method on texture storage cleanupBastiaan Olij
2022-03-18Add inverse projection matrix to fragment shader globalsnevarek
2022-03-18Merge pull request #59268 from Chaosus/shader_renames2Rémi Verschelde
Rename several transform built-ins in shaders
2022-03-18Merge pull request #58233 from bruvzg/gde_tsRémi Verschelde
2022-03-18Rename several transform built-ins in shadersYuri Roubinsky
2022-03-18Merge pull request #49738 from Calinou/ssao-gi-default-half-resolutionRémi Verschelde
Compute SSAO at half resolution by default
2022-03-18Merge pull request #59087 from clayjohn/sky-modeRémi Verschelde
Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enum
2022-03-17Merge pull request #58954 from Ansraer/alpha_scissorRémi Verschelde
[4.0] Fix alpha scissor support
2022-03-17Replace DirectionalLight3D's `use_in_sky_only` with `sky_mode` enumHugo Locurcio
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>
2022-03-17Another `-Wsign-compare` fixRémi Verschelde
Fixing CI while afk, fun.
2022-03-17Fix `-Wsign-compare` warning after #58993Rémi Verschelde
2022-03-17Merge pull request #58993 from notSanil/device-limit-exceeded-fixRémi Verschelde
2022-03-17Fix alpha scissor supportAnsraer
2022-03-17Merge pull request #59062 from BastiaanOlij/storagerd_textureRémi Verschelde
2022-03-17Unify TextServer built-in module and GDExtension code.bruvzg
2022-03-16Merge pull request #59209 from rburing/fix_pinjoint2d_inertia_tensorRémi Verschelde
`PinJoint2D`: fix inertia tensor, taking center of mass into account
2022-03-16PinJoint2D: fix inertia tensor, taking center of mass into accountRicardo Buring
2022-03-16Cleanup and fix native struct definitions.bruvzg
2022-03-16Merge pull request #59140 from reduz/physics-server-extensionRémi Verschelde
2022-03-16Fix device limit exceeding for uniform buffernotSanil
2022-03-16Split dummy renderer classes into separate filesBastiaan Olij
Split canvas_texture_storage and texture_storage from render_storage class
2022-03-16Merge pull request #49092 from BastiaanOlij/multiview_clusteredRémi Verschelde
Add multiview support to the clustered forward renderer
2022-03-15Create GDExtension clases for PhysicsServer3Dreduz
* Allows creating a GDExtension based 3D Physics Server (for Bullet, PhysX, etc. support) * Some changes on native struct binding for PhysicsServer This allows a 3D Physics server created entirely from GDExtension. Once it works, the idea is to port the 2D one to it.
2022-03-15Merge pull request #45263 from KoBeWi/😕Rémi Verschelde
2022-03-14Fix D_GGX code which can cause divide-by-zero valsnowapril
When given roughness is lower than 0.01, d value in original code will be zero. This can make last return value as NAN because of divide-by-zero. This is well addressed in issue #56373. Modified code is referenced on D_GGX function of google/filament (https://github.com/google/filament/blob/main/shaders/src/brdf.fs#L54-L79) Signed-off-by: snowapril <sinjihng@gmail.com>
2022-03-13Merge pull request #59107 from otonashixav/expose-add-animation-sliceRémi Verschelde
2022-03-13Fix text clipping on the right side.bruvzg
2022-03-13Expose `RenderingServer::canvas_item_add_animation_slice` in GDScriptXavier Loh
2022-03-13Merge pull request #58819 from vreon/fix-eyedir-zRémi Verschelde
Fix flipped EYEDIR.z in sky shaders
2022-03-11Add options to embolden and transform font outlines to simulate bold and ↵bruvzg
italic typefaces.
2022-03-10Merge pull request #58781 from BastiaanOlij/openxr_signals_and_eventsRémi Verschelde
Adding signals and events to OpenXR interface
2022-03-10Discern between virtual and abstract class bindingsreduz
* Previous "virtual" classes (which can't be instantiated) are not corretly named "abstract". * Added a new "virtual" category for classes, they can't be instantiated from the editor, but can be inherited from script and extensions. * Converted a large amount of classes from "abstract" to "virtual" where it makes sense. Most classes that make sense have been converted. Missing: * Physics servers * VideoStream * Script* classes. which will go in a separate PR due to the complexity involved.
2022-03-10Adding signals and events to OpenXR interfaceBastiaan Olij
Improving interaction profile logic
2022-03-09Change some math macros to constexprkobewi
Changes `MAX`, `MIN`, `ABS`, `CLAMP` and `SIGN`.
2022-03-09Remove unused GDNative codeRémi Verschelde
This has been superseded by GDExtension so this code is no longer useful nor usable. There's still some GDNative-related stuff in platform export code which needs to be adapted for GDExtension (e.g. to include GDExtension libraries in exports).
2022-03-08Sky renderer: Only flip Z when calculating panorama_coordsJesse Dubay
2022-03-08Merge pull request #49447 from Calinou/remove-shadow-color-propertyRémi Verschelde
Remove unused `shadow_color` property from Light3D