Commit Graph

9869 Commits

Author SHA1 Message Date
Yao Wei Tjong 姚伟忠
92cf44551f
Fix PCH generation and visibility warning on STATIC build.
Close #2652
2020-08-31 01:39:07 +08:00
Yao Wei Tjong 姚伟忠
6d6cd58e34
Fix PCH generation for GCC and Clang.
Add a new compiler flag to warn against invalid PCH generation in the future.
Remove temporary PCH workaround for all Clang compilers.
2020-08-31 01:39:07 +08:00
Yao Wei Tjong 姚伟忠
4a2a132ee0
RPI & ARM - only add rpath-link for the linker when necessary. 2020-08-31 01:39:07 +08:00
Yao Wei Tjong 姚伟忠
47af104d17
Enforce the C++11 standard as minimal requirement. 2020-08-31 01:39:07 +08:00
Yao Wei Tjong 姚伟忠
53186464c2
Use modern CMake way to set the default C++ standard. 2020-08-31 01:39:06 +08:00
Yao Wei Tjong 姚伟忠
9e02cb3dd6
Prevent building of SDL GL video drivers on non-desktop platforms. 2020-08-31 01:39:06 +08:00
Yao Wei Tjong 姚伟忠
29015cc8c1
RPI - initialize the default ABI correctly for 64-bit build. 2020-08-31 01:39:06 +08:00
Yao Wei Tjong 姚伟忠
6ae88f9b44
DBE - avoid retrying from other public registries. 2020-08-31 01:39:06 +08:00
Yao Wei Tjong 姚伟忠
0b9c49cab8
Refactor to avoid hard-coding the library arch for Debian distro.
Instead, assume the GCC (cross-)compiler toolchain will have the "--enable-multiarch" enabled and the toolchain has a triplet matching the CMAKE_LIBRARY_ARCHITECTURE_REGEX which is set to "[a-z0-9_]+(-[a-z0-9_]+)?-linux-gnu[a-z0-9_]*" as of this writing. If so, CMake will automatically initialize the CMAKE_LIBRARY_ARCHITECTURE with a right value and CMake will use it when searching for libraries, not requiring the build script to spell out the extra path suffixes manually.
2020-08-31 01:39:06 +08:00
Yao Wei Tjong 姚伟忠
2076b6d6eb
For CI - RPI - reenable LUAJIT and Angelscript scripting subsystems. 2020-08-31 01:39:06 +08:00
Yao Wei Tjong 姚伟忠
c6ea0d61ca
RPI - quick fix by relaxing the 'template' keyword check.
The check could be tighten again based on user report.
2020-08-31 01:39:06 +08:00
Yao Wei Tjong 姚伟忠
cbc72fa30b
RPI - Fix 64-bit SHARED lib type build config. 2020-08-31 01:39:06 +08:00
Yao Wei Tjong 姚伟忠
63986a1fd6
RPI - Use vanila GLES2 library for RPI4. 2020-08-31 01:39:05 +08:00
Yao Wei Tjong 姚伟忠
45089a1322
Fix build script in finding the DRM, GBM and others.
RPI 4 may require KMS/DRM to replace DISPMAN.
2020-08-31 01:39:05 +08:00
Yao Wei Tjong 姚伟忠
70073287b4
RPI - initial attempt to support RPI4 64-bit build. 2020-08-31 01:39:05 +08:00
Yao Wei Tjong 姚伟忠
0b50ef80e4
For Travis - CI - Use the new RPI_ABI build option values. 2020-08-31 01:39:05 +08:00
Yao Wei Tjong 姚伟忠
db094af7af
For CI - RPI - Drop RPI 1 and replace it with 64-bit CI build. 2020-08-31 01:39:05 +08:00
Yao Wei Tjong 姚伟忠
4c1e9ddf35
Android - upgrade dependencies. Works with Android Studio 4.0. 2020-08-31 01:39:05 +08:00
Yao Wei Tjong 姚伟忠
3af2b68237
Prevent building of SDL GLES video drivers on desktop platforms. 2020-08-31 01:39:05 +08:00
Yao Wei Tjong 姚伟忠
2980809aed
Adapt to EMSDK changes. [ci only: Web] 2020-08-31 01:39:04 +08:00
Yao Wei Tjong 姚伟忠
ee8a095ac1
For CI - upgrade toolchains and Doxygen version. 2020-08-31 01:39:04 +08:00
1vanK
e01329ec6c Merge branch 'master' of https://github.com/Urho3D/Urho3D 2020-08-28 11:26:36 +03:00
1vanK
ec060153db WriteDrawablesToOBJ: pass vector as reference 2020-08-28 11:26:27 +03:00
ssinai1
0134b64eb3 Fix 3D texture mipmap generator. 2020-08-27 11:18:54 +08:00
1vanK
23a6d24ac0 UIElement: return children as PODVector
Used by AutoBinder
2020-08-14 23:35:38 +03:00
1vanK
68a4c6e193 Database: rename parameter context_ to context 2020-08-10 10:19:47 +03:00
Arnis Lielturks
30dce947c4
Outgoing messages are now packed together (#2636)
* outgoing messages are now packed together

* ability to set connection packet buffer limit

* custom messages and broadcasting fixed

* code style updates
2020-08-04 22:25:52 +03:00
1vanK
de4aefd2be Add ; after URHO3D_OBJECT() to workaround doxygen bug 2020-07-31 12:21:18 +03:00
ssinai1
3da017d380
Fix IsPowerOfTwo(zero). (#2671) 2020-07-27 16:31:27 +03:00
1vanK
426fdc702e Update authors 2020-07-23 12:53:57 +03:00
TEDERIs
4116acb500
Remove unused gamma variable (#2667)
* Remove unused gamma variable

* Remove unused variables in GLSL
2020-07-23 12:48:39 +03:00
Katekov Anton
1f5f393a77
Bugfix/fix crash creating inmemory nodes (#2663)
* Check if scene exists

* Send tag event only if scene exists

* Fix style
2020-07-15 21:08:38 +03:00
gleblebedev
0c65934c04
Ambient occlusion in PBR techniques (#2660)
* Ambient occlusion in PBR techniques

* AO to modulate IBL

* AO texture coord fix
2020-07-15 15:32:06 +03:00
gleblebedev
c4a8e9b098
Vegetation shader and technique bugfixes (#2659)
* Vegetation shader and technique bugfixes

* GLSL bug fix for vegetation shader

* pivot fixed

* Shaders fixed

* Text formatting
2020-07-14 04:08:32 +03:00
1vanK
c5b9b4131d Fix vegetation VSM shadows for DirectX 2020-07-09 01:04:39 +03:00
1vanK
7ec6290d68 Add sRGB option to editor 2020-07-07 23:28:53 +03:00
1vanK
2922d7914a Update authors 2020-07-07 14:42:57 +03:00
SirNate0
3a12936c47
Added PODVector::Resize overload that fills new element with a default value. (#2653) 2020-07-07 14:39:42 +03:00
1vanK
b16935c834 Update authors 2020-07-07 14:13:08 +03:00
Katekov Anton
d103e6ffa7
Fix vegetation shader for vsm shadows (#2658) 2020-07-07 14:02:06 +03:00
gleblebedev
f98d2cfd49
PBR sample terrain fixed (#2657) 2020-07-02 23:48:28 +03:00
1vanK
7af4f86244 Update authors 2020-07-02 11:26:24 +03:00
ChrisDenham
c2f5c24ebd
Update PBRLitSolid.hlsl (#2656)
Removes a line that does not match the GLSL version of the code, and can make environment mapping to dark when specular color is not full white in the HLSL version.
It may be that it is the GLSL version that needs correcting to make it consistent with the HLSL version, but I'm not really sure why the HLSL version of this code would need to effectively multiply a specular color by itself.  Of course, if material specular colour happens to be pure white then there is no difference between them.
2020-07-02 11:20:41 +03:00
gleblebedev
609f7de618
New PBR techniques. New PBR terrain shader. Skybox shader fixed. (#2655)
* New PBR techniques. New PBR terrain shader. Skybox shader fixed.

* Bug fix in original terrain and missing techniques.

* PR cleanup

* Skybox.glsl cleanup

* Terrain added to PBR sample
2020-07-02 11:19:43 +03:00
urho3d-travis-ci
bc55636f94 Travis CI: API documentation update at 2020-06-25 06:06:02 UTC.
[ci package]

Commit: 0349aafbb5

Message: Localization::LoadJSONFile() : Pass String as reference
2020-06-25 06:06:02 +00:00
1vanK
0349aafbb5 Localization::LoadJSONFile() : Pass String as reference 2020-06-25 08:55:33 +03:00
ChrisDenham
6fb55fa498
Allow Camera::SetFlipVertical to be used externally for OpenGL (#2643)
* Allow Camera::FlipVertical to be used externally for OpenGL by toggling it either side of render to texture, i.e. instead of "set and clear" either side of render to texture.

(cherry picked from commit 434739d62c99e9328b66c338b7dc57c963b586c6)

* #1 Add explanation comment to previous commit.

(cherry picked from commit 4f1ca6cf8595b230e7ab2473fc37d1c0325a481a)

Co-authored-by: Chris Denham <chris.denham@logicom.com>
2020-06-14 22:53:00 +03:00
1vanK
3075cba84e Recommit 16eea39499 with correct tangents
https://discourse.urho3d.io/t/parallax-occlusion/6187/22
2020-06-10 05:08:06 +03:00
sa
e0eb04b9b3 Change UIElement::dragButtonCombo_ to be a MouseButtonFlags type
Also use the actual MOUSEB_ and QUAL_ constants instead of 0.
2020-06-06 16:19:20 +03:00
sa
0a3379f53e Use MouseButtonFlags and QualifierFlags instead of int's
Fixes #2631
2020-06-06 16:19:20 +03:00