Commit Graph

662 Commits

Author SHA1 Message Date
Crypto City
944b917120 Geometry (and hull/compute) shaders by JSandusky 2021-12-05 07:51:22 +00:00
Yao Wei Tjong
7f8f55a41f
Update shell.html
Attempt to fix mobile usability error reported by Google Search Console.
2021-11-16 20:35:04 +08:00
orefkov
4a6e16344b
Update AngelScript to 2.35.1. (#2831)
* Update AngelScript to 2.35.1. Now it support native calling convention for ARM64.

* Change comment.
2021-10-05 20:22:27 +03:00
Wang Kai
ffa6a9d6e2
Fix UI scale issues. (#2779)
* Fix UI scale issues.

* Fixing of UI scaling issue.

* Unify cursor in UI scaled position.

* Scaled UI issue: JSCanvasSize modification

* Remove extra space.

* Fixed Editor viewport related issues when UI scaled.
2021-02-21 21:08:16 +03:00
1vanK
45f3f12072 Fix 35_SignedDistanceFieldText sample for OpenGL ES 2.0
Thanks elix22 https://github.com/urho3d/Urho3D/pull/2544
2021-02-01 21:37:23 +03:00
PencilAmazing
2dcefeb54f
Added checkbox for editor to parent spawned nodes to selected node (#2766)
* Added checkbox for editor to parent spawned nodes to selected node (and renamed the option above it)

* Convert tabs to spaces.

* Curly braces

* More formatting.

* Formatting

* Changed default setting to false.

* Removed redundant null check

* Update EditorSpawn.as

Co-authored-by: 1vanK <1vanK@users.noreply.github.com>
2021-01-26 17:11:27 +03:00
PencilAmazing
0dfd145018
Fix conditional typo in EditorSpawn.as (#2764)
* Fix typo in EditorSpawn.as

* Update EditorSpawn.as

* Update EditorSpawn.as

Co-authored-by: 1vanK <1vanK@users.noreply.github.com>
2021-01-21 21:40:41 +03:00
SuperWangKai
15a9692739
Fixed texture loading caused by Heightmap typo (#2753) 2021-01-04 15:57:25 +03:00
1vanK
b08f08dfb6
36_Urho2DTileMap: Fix invisible cursor - Revert ef6284c938 (#2749) 2020-12-24 05:15:16 +03:00
1vanK
e1fa7eb345 Typo in the previous commit 2020-12-07 18:54:31 +03:00
gleblebedev
c76f0c7712
Mobile shaders fixes (#2709)
* Mobile shaders fixes

* Update

* Update

* Update

* Update

Co-authored-by: 1vanK <1vanK@users.noreply.github.com>
2020-12-07 18:43:48 +03:00
1vanK
107d99711e
Add MSG_USER const. Fix https://github.com/urho3d/Urho3D/issues/2734 (#2735) 2020-12-05 15:50:29 +03:00
1vanK
3aa9238dc3 Silence "shader does not use the define NOUV" warning 2020-12-04 11:59:43 +03:00
1vanK
ab675170e7 Fix Skybox by gleblebedev 2020-12-04 11:42:21 +03:00
1vanK
5f14c2f529 Fix FixCubeLookup()
1023/1024 anways = 0, so this function just didn't work
2020-12-04 11:28:07 +03:00
ssinai1
f909775ca7 Fix sign typo in AutoExposure.glsl 2020-11-11 04:03:20 +03:00
1vanK
ef1dfe3417
AS Autobindings 2020-10-28 19:18:41 +08: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
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
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
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
1vanK
3075cba84e Recommit 16eea39499 with correct tangents
https://discourse.urho3d.io/t/parallax-occlusion/6187/22
2020-06-10 05:08:06 +03:00
Arnis Lielturks
89041d7031 prevent from viewport resize too often 2020-05-09 02:17:20 +03:00
Arnis Lielturks
72e2342343
Emscripten shell (#2608)
* emscripten shell added, wip

* include dirs

* namespace

* more namespace fixes

* cmake tweak

* tweak

* emscripten shell added in different cmake file

* shell setup fixed

* application.html renamed to shell.html, engine tweaks

* shell.html location updated

* reworked canvas size detection and applying, highdpi disabled for web builds

* typo

* background tab loading fix

* web handlers moved to graphics subsystem

* removed a bit too much

* fix

* ready event resize

* svg fullscreen icon

* id used for fullscreen icon

* emscripten request pointer used instead

* pointer lock tweaks

* yet another tweak

* ui cursor fixed to take into account ui scale, emscripten mouse state reset when changing resolution

* code style updates

* ui scale calculated differently

* fix

* pointer position calculation properly fixed

* cursor position retrieval updated

* Fix code style. Simplify UI scale handling.

* cmake updates

Co-authored-by: Eugene Kozlov <nekoeuge@gmail.com>
2020-04-07 19:38:21 +03:00
talarcon
b9eb567781 Add base pass to pbr emissive technique 2020-03-21 15:14:52 +03:00
魔大农
96cb0d5d1e Fixed event data names in sample 25
Liberates emitter from screen corner.
2020-03-16 09:51:10 +08:00
Arnis Lielturks
02c9072fee 17_SceneReplication lua fix 2020-03-08 11:07:00 +02:00
PsychoCircuitry
4d4e157093
Bloom and BloomHDR PostProcess Fix (#2546)
* Update Bloom.xml

* Update Bloom.xml

* Update BloomHDR.xml

* Update Bloom.xml
2020-02-25 01:33:59 +02:00
Arnis Lielturks
8a0113c155 blur and auto exposure post process fixes 2020-02-25 01:33:06 +02:00
fredakilla
b6325ac172
Editor addon : Duplicator Editor (#2193)
* add mulyiply editor

* update multiply editor

* remove unused pretransform and create new checckbox options, : clones in node, and swicth transform

* rename to Duplicator editor
2020-02-14 09:34:50 +02:00
Igor Segalla
488eb1303c
Fix Terrain Editor brush #2471 (#2558)
* Fix Terrain Editor brush #2471

Now is possible to leave from painting mode on Terrain Editor . You can simply press the button to reset window next to close button on title bar, or close/hide Terrain Editor window.

* Fix hide brush visualizer on OSX
2020-02-06 09:20:35 +02:00
Arnis Lielturks
5b99c3ba93
console style fix (#2577) 2020-02-02 16:13:03 +02:00
SirNate0
0032538519 Fixed console styling to account for the addition of LOG_TRACE
LOG_TRACE offset the log levels by 1 but the console styling did not add a
trace styling, so warnings were printed with error styling, etc.
2019-09-08 12:38:38 +08:00
1vanK
5f52f9433f Fix invisible character in lua version of example 50 2019-08-18 04:44:12 +08:00
1vanK
9a61d48076 Fix example 50 invisible traps https://github.com/urho3d/Urho3D/issues/2390 2019-08-18 04:44:12 +08:00
Yao Wei Tjong 姚伟忠
c8469ba8c3
Fix Editor crash after a component is selected.
Fix #2384
2019-05-19 15:50:37 +08:00
Yao Wei Tjong 姚伟忠
8b644c22ce
Quick fix for Editor segfault during starting up. 2019-05-19 15:50:37 +08:00
ELMERzark
b4b8667f3e Update 06_SkeletalAnimation.lua 2019-03-30 18:58:52 +08:00
Arnis Lielturks
d4cf8a9f05
localization JSON file now supports simple key-value structure (#2359)
* localization JSON file now supports simple key-value structure

* docs updated, code refactoring

* minor fix

* AngelScript integration fixed
2019-02-16 14:42:01 +02:00
Neal_Nicdao
b1c3ce30ec
Added new EmitterTypes
* Added SphereVolume, Cylinder, and Ring enum with calculations
 * Modified EditorParticle to incorporate new emitter shapes
2018-11-25 21:25:58 +08:00
Yao Wei Tjong 姚伟忠
81d66be594
Fix editor's OK button due to StringHash is now case-senstive. 2018-08-26 11:57:55 +08:00
Yao Wei Tjong 姚伟忠
8ba6a36973
Adapt to AngelScript 2.33.0 WIP. 2018-08-22 18:29:16 +08:00
Arnis Lielturks
e363036036
kNet replaced with SLikeNet (RakNet fork). 2018-08-11 20:35:09 +08:00
1vanK
2482502b84 Editor: more info about models 2018-05-14 07:43:45 +08:00
Enhex
8ecbfad065
renamed to Selectable to UISelectable 2018-04-08 21:13:29 +08:00
Enhex
8c8c812ab9
add editor icon for Selectable 2018-04-08 21:13:29 +08:00