Commit Graph

10202 Commits

Author SHA1 Message Date
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
Eugene Kozlov
3c4a0a5489 Make FlagSet to bool conversion operator explicit. Fixes #2631. 2020-05-24 14:43:03 +03:00
Yao Wei Tjong 姚伟忠
7a2b5cd819
Fix the STATIC build caused by missing argument. 2020-05-11 07:08:23 +08:00
Yao Wei Tjong 姚伟忠
3ba62f036e
Fix the STATIC and SHARED build for VS and Xcode.
Cleanup comments.
2020-05-10 23:30:59 +08:00
Yao Wei Tjong 姚伟忠
3917983512
For CI - temporary workaround for Clang STATIC build. 2020-05-10 23:29:31 +08:00
Yao Wei Tjong 姚伟忠
0e4d095cfa
Shed off old construct since our CMake minimum required is 3.10.2 now. 2020-05-10 15:53:52 +08:00
Yao Wei Tjong 姚伟忠
5f3d7be206
Fix compilation on GCC 10.0.1 2020-05-09 15:20:14 +08:00
Eugene Kozlov
056c3d1022 Fix typo in OGLRenderSurface.cpp 2020-05-09 02:17:20 +03:00
Eugene Kozlov
e5b53e2f2c Delete GPU objects when OpenGL context is about to be lost. 2020-05-09 02:17:20 +03:00
Arnis Lielturks
89041d7031 prevent from viewport resize too often 2020-05-09 02:17:20 +03:00
Yao Wei Tjong
bcf29b8ee4
Fix for getting iOS CPU core count.
Credit to Yuki001. Closed #2630.
2020-05-07 23:47:01 +08:00
Arnis Lielturks
8c98f4ec88 contributor list updated 2020-05-06 21:44:25 +03:00
stievie
67389ec2bd
Initialize SSL when making a HTTP Request and URHO3D_SSL is defined (#2629)
* Initialize SSL when making a HTTP Request and URHO3D_SSL is defined

* Simplify SSL initialization.
2020-05-06 21:41:15 +03:00
urho3d-travis-ci
b7db6cecdb Travis CI: source tree update at 2020-05-03 09:46:38 UTC. 2020-05-03 09:46:38 +00:00
Arnis Lielturks
889367738b
HTTPS support - civetweb update (#2415)
* initial update

* CMake updated for civetweb, https working

* unused file cleanup

* CMake updates to civetweb

* minor update, mingw not yet working

* CMakeLists updated

* fixed for unix builds

* cmake updates, console output updated

* docs updates

* HTTP sample now uses http and https links

* civetweb version 1.11

* additional changes

* mingw fix

* openssl fix

* additional ssl configuration

* osx workaround

* openssl is no longer optional

* openssl is optional

* civetweb cmakelists updates, URHO3D_SSL=1 set for travis

* debug messages removed from SSL/TLS initialization

* link libraries with civetweb

* code style fixes

* cmake updates

* DBE_TAG=latest removed
2020-05-03 12:22:31 +03:00
Yao Wei Tjong 姚伟忠
3ec1bbbee6
Ignore VS '.vs' and 'out' directories. [ci skip] 2020-04-26 21:13:22 +08:00
Eugene Kozlov
14520d95af Add check for AnimationTrack::GetKeyFrameIndex.
Closes #2625.
2020-04-25 12:02:35 +03:00
Yao Wei Tjong
05c469884c
Update README.md
Discourage chat. Promote only our official forum.
2020-04-12 00:15:53 +08:00