Commit Graph

10202 Commits

Author SHA1 Message Date
scaledteam
f19d599819 Fix to build on wayland 1.21 (#3163) 2024-09-27 17:31:37 +00:00
Crypto City
fa2e8ea194 add a custom max vertex lights in scene 2023-08-02 06:44:12 +00:00
Crypto City
f402017686 bump max lights per vertex by a lot 2023-08-02 06:07:52 +00:00
Crypto City
e8eec4910a UI: set texture unit 0 for UI shaders when using custom material 2023-06-27 08:57:16 +00:00
Crypto City
b7440f8669 Variant: fix const void* silently resolving to bool
we want it to go to void* and be told about it
2023-05-22 07:01:43 +00:00
Crypto City
f0f6d4ed80 ListView: mark OnTextInput as override 2023-02-05 18:52:19 +00:00
Crypto City
1b77692223 Fix build on windows 2022-10-29 21:25:34 +00:00
Crypto City
00795930e6 AnimationState: add layer to E_ANIMATIONFINISHED message 2022-09-16 09:16:27 +00:00
Crypto City
eaf7410dc9 UI: allow vertical colour gradient on text 2022-09-10 12:44:52 +00:00
Crypto City
23899ca63b Add new diadem particle emitter type 2022-07-02 08:06:31 +00:00
Crypto City
5d901c1e13 ParticleEffect: add useCentralInitialVelocity attribute
it'll make particles' initial velocity relative to center
of the emitter
2022-06-27 10:27:49 +00:00
Crypto City
5022290e71 BillboardSet: add per billboard collusion scale and id 2021-12-05 07:51:22 +00:00
Crypto City
9031796f85 Camera: add a distance to bounding box function 2021-12-05 07:51:22 +00:00
Crypto City
06e5c6adab AnimationController: fix invalid memory access
AddTime might have triggered events which could have triggered
new animations, reallocating (and possibly moving) animations_,
2021-12-05 07:51:22 +00:00
Crypto City
944b917120 Geometry (and hull/compute) shaders by JSandusky 2021-12-05 07:51:22 +00:00
Crypto City
0d65278362 Camera: early out when setting unchanged near/far clip planes 2021-12-05 07:48:12 +00:00
Crypto City
e27d8db76b Image: fix loading obfuscated PNG 2021-12-05 07:48:12 +00:00
Crypto City
023cd171a2 IO: Allow multiple filters in ScanDir 2021-12-05 07:48:12 +00:00
Crypto City
fc9a11cba2 IO: Update LZ4 to v1.9.2, safe decompression, user compression level 2021-12-05 07:48:12 +00:00
Crypto City
e66730c930 Terrain: fix normal discontinuities on chunk borders 2021-12-05 07:48:12 +00:00
Crypto City
c4abc80e75 Terrain: #include <stdint.h> for windows 2021-12-05 07:48:12 +00:00
Crypto City
6dc6a270c3 Image: load more formats from obfuscated variant 2021-12-05 07:48:12 +00:00
Crypto City
4968ecc33f Terrain: support 16 bit single component height map 2021-12-05 07:48:12 +00:00
Crypto City
5f936db344 Tracy: build with default timer, so it works on qubes 2021-12-05 07:48:11 +00:00
SuperWangKai
404690eeba Tracy profiler integration. (#2776)
* Tracy profiler integration.

* Cleanup URHO3D_TRACY_PROFILING macro.

* Fix comment of Tracy build option.

* Decouple URHO3D_TRACY_PROFILING exclusively from URHO3D_PROFILING.

* Comment explains URHO3D_TRACY_PROFILING

* Update

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update CMakeLists.txt

* Update

* Update TracyCallstack.cpp

* Update

* Update CMakeLists.txt

* Update TracyCallstack.cpp

* Update TracyCallstack.cpp

Co-authored-by: 1vanK <1vanK@users.noreply.github.com>
2021-12-05 07:48:11 +00:00
Crypto City
a949dbaa77 SDL: use -fcommon to fix issues with wayland smbols on arch 2021-12-05 07:44:16 +00:00
Crypto City
3576f662c0 Revert "core: add VariantMapVector to the variant types"
This reverts commit 3a86d00996.

Now obsoleted
2021-12-05 07:44:16 +00:00
Crypto City
f2abc7cb83 disable joystick on windows, fix link issue 2021-12-05 07:44:16 +00:00
Crypto City
4e29c8531f Vector3: only use rsqrt intrinsics with x86_64 GCC 2021-12-05 07:44:16 +00:00
Crypto City
264fdce881 Node: support derived components in GetComponent 2021-12-05 07:44:16 +00:00
Crypto City
6dd9a15063 SDL: move WASAPI audio driver after DSOUND
WASAPI support seems patchy, and in particular causes
high pitch fast music
2021-12-05 07:44:16 +00:00
Crypto City
a7e4f2b4f6 Terrain: speed up a bit, and possible occlusion bug fix 2021-12-05 07:44:16 +00:00
Crypto City
30edb30611 Terrain: use faster approximate Normalized function for normals/tangents 2021-12-05 07:44:16 +00:00
Crypto City
81fc5dcac9 Vector3: add faster approximate Normalize/Normalized functions 2021-12-05 07:44:16 +00:00
Crypto City
e5edc244d3 Terrain: fix crash on exit 2021-12-05 07:44:16 +00:00
Crypto City
9f18f392c4 Terrain: speed up UpdateEdgePatchNeighbors 2021-12-05 07:44:16 +00:00
Crypto City
08e4e1beaa Terrain: remove some divisions in CreatePatchGeometry 2021-12-05 07:44:16 +00:00
Crypto City
8b44798adc Terrain: speed up CalculateLodErrors 2021-12-05 07:44:16 +00:00
Crypto City
f441bd9030 Terrain: speed up GetRawNormal 2021-12-05 07:44:16 +00:00
Crypto City
e352f0dfcf Terrain: speed up height map copy 2021-12-05 07:44:16 +00:00
Crypto City
32dc5ee6d9 Terrain: speed up GetLodHeight 2021-12-05 07:44:16 +00:00
Crypto City
9e9c40b45a Terrain: speed up patch lookup when building terrain 2021-12-05 07:44:16 +00:00
Crypto City
7647601a19 Terrain: make tangent calculation optional 2021-12-05 07:44:16 +00:00
Crypto City
fb651e1d03 Terrain: cache index data across objects 2021-12-05 07:44:16 +00:00
Crypto City
d7aaf80ed5 Ray: fix wrong normal on HitDistance
It could leak the normal from a hit behind the closest hit
2021-12-05 07:44:16 +00:00
Crypto City
080828463a Octree: faster drawable removal as we don't need to preserve order 2021-12-05 07:44:16 +00:00
Crypto City
b7c573ba23 Application: allow overriding the error dialog name 2021-12-05 07:44:16 +00:00
Crypto City
58b27fa286 Octree: use const ref rather than copying shared pointers 2021-12-05 07:44:16 +00:00
Crypto City
ff6d918af5 Octree: do not preserve drawable ordering
We don't need it and it's faster to remove
2021-12-05 07:44:16 +00:00
Crypto City
7df7ee2e0f StaticModel: optionally ignore E_RELOADFINISHED event
It's much faster with lots of children on a node
2021-12-05 07:44:16 +00:00