Commit Graph

646 Commits

Author SHA1 Message Date
Crypto City
f1ae24a60b Geometry (and hull/compute) shaders by JSandusky 2021-10-09 20:30:30 +00: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
Modanung
4578d4bbf5 Trimmed checkmarks, modified accept drop cursor and reduced refresh icon size 2018-04-08 12:25:07 +08:00
Modanung
f19c632c62 Modified selection and hover colors in DefaultStyle.xml to match new skin 2018-04-08 12:25:07 +08:00
Modanung
3983f61697 Moved SVG of UI to SourceAssets folder 2018-04-08 12:25:07 +08:00
Modanung
14ba47fe79 Tiny GUI modifications 2018-04-08 12:25:07 +08:00
Modanung
ce3987ff8f Removed old UI from SVG 2018-04-08 12:25:07 +08:00
Modanung
1709bddf76 Created new GUI texture 2018-04-08 12:25:07 +08:00
Yao Wei Tjong 姚伟忠
0631979496
Clean up redundant semicolons in sample Lua scripts.
[ci skip]
2018-02-04 22:58:19 +08:00
Yao Wei Tjong 姚伟忠
3a76654c44
Demonstrate how to bring to front an UI-element.
Close #2251.
2018-02-04 16:11:50 +08:00
pmatsula
edd3bd9b67
Fixed a serious bug with flipping X and Y (tested), reverted some occasional changes to sample data. 2018-02-04 12:04:35 +08:00
pmatsula
c6eaacddb3
Added more illustrative and yet subtle changes to samples 2018-02-04 12:04:35 +08:00
Pavel Matcula
f007c58b0c
Changed tilemap sample for experiments 2018-02-04 12:04:34 +08:00
Ricardo Abreu
38feb91078 use explicit default initialization in TrailPoint in-class member initializers; add periods to comments. 2018-02-01 18:59:01 +08:00
Ricardo Abreu
10734bad2c fix RibbonTrail coverity issues; CID: 127543, 216057, 216060, 216066 2018-02-01 18:59:01 +08:00
Yao Wei Tjong 姚伟忠
80668bf125 Add Scene::IsReplicatedID() static helper method for code reuse.
Modify the Angelscript binding of the Component::IsReplicated() to use asMETHODPR macro to keep VS happy.
2018-01-28 07:38:58 +08:00
Yao Wei Tjong 姚伟忠
23a696676d Add IsReplicated() method for Node and Component classes.
Close #2211.
2018-01-28 00:11:31 +08:00
Yao Wei Tjong 姚伟忠
d368227648 Minor formatting and modernizing the code.
Close #2214.
2018-01-26 07:56:25 +08:00