Commit Graph

663 Commits

Author SHA1 Message Date
Iain Merrick
0450bcd11e Add configurable oversampling to improve subpixel font rendering (#1953)
Subpixel-positioned text looks blurry, due to bilinear filtering of the
underlying texture. The basic idea here is to stretch the font glyphs
horizontally to increase the sharpness at subpixel positions. The
stretched images need to be smoothed to avoid aliasing artifacts; this
is done in FontFaceFreeType::BoxFilter().

Glyphs are always pixel-aligned vertically, so no vertical oversampling
is needed.

To make this feature comprehensible (I hope!) I've removed the
'subpixelGlyphPositions' flag and replaced it with a couple of values:
'fontSubpixelThreshold' sets the point at which subpixel positioning
kicks on, and 'fontOversampling' controls the amount of stretching.

The default values are 12pt text and 2x oversampling. These are fairly
conservative settings, which should improve small text without wasting
a lot of memory.

Note that when the font hint level is NORMAL (the default), subpixel
positioning and oversampling are both disabled. So, this feature doesn't
change any default behavior, and applies some hopefully sensible values
if the hint level is set to LIGHT or NONE.
2017-07-03 11:21:47 -05:00
Iain Merrick
e603eed814 Add a 'subpixel glyph positions' option to UI (#1953)
When this option is enabled, text will be formatted with subpixel
(fractional) positions on the x-axis. Positions on the y-axis are
still pixel-aligned.

Note that this option has no effect if the hinting level is set
to FONT_HINT_LEVEL_NORMAL, as each glyph is rounded to an integral
pixel size by the hinter. It only makes a different if the hinting
mode is LIGHT (vertical hinting only) or NONE.

With subpixel positioning, the output will look blurrier due to
texture filtering. TODO: Add horizontal oversampling to improve
sharpness. That needs extra memory so it should be configurable.
2017-06-20 17:04:56 -05:00
Iain Merrick
1e3a1edd45 Change font size to a float (closes #1952)
This commit changes the 'pointSize' parameter in Font, Text
and Text3D from an int to a float, allowing e.g. 14.5pt text.
Note that when hinting is enabled, font metrics are snapped
to pixel boundaries, so the effect may be hard to see unless
you also set UI.FontHintLevel to LIGHT or NONE.

This is a change to the public API, but existing code (including
scripts) should compile and run as before.
2017-06-18 22:27:59 -05:00
Lasse Öörni
b9c3199a25 Merge remote-tracking branch 'iainmerrick/font_hinting' 2017-06-17 22:17:59 +03:00
Lasse Öörni
e5dcfdafbb Merge remote-tracking branch 'dragonCASTjosh/master' 2017-06-17 00:08:03 +03:00
Iain Merrick
282f250e3a Add UI.FontHintLevel property
There are three levels: NORMAL (the default), LIGHT and NONE.
The LIGHT level makes FreeType align font outlines to pixel
boundaries vertically, but not horizontally.
2017-06-15 15:30:28 -05:00
Iain Merrick
db6f4f9029 AngelScript version of Typography sample program 2017-06-13 13:40:31 -05:00
Iain Merrick
8fe78f261b Lua version of Typography sample program 2017-06-13 13:40:31 -05:00
dragonCASTjosh
53c36d25f9 Added PBR demo changes to LUA and AS 2017-06-13 19:25:40 +01:00
dragonCASTjosh
5498140d84 Fixed dark artifact in PBR 2017-06-13 16:03:26 +01:00
dragonCASTjosh
eebc9f04c3 Fixed sphere light issue 2017-06-13 06:01:59 +01:00
dragonCASTjosh
b782b86b2d OpenGL PBR fixes 2017-06-13 05:32:46 +01:00
dragonCASTjosh
64d7e83711 Fixed missing files 2017-06-13 04:59:00 +01:00
dragonCASTjosh
bf40c8c7c4 Changed the diffuse and fresnel models 2017-06-13 04:03:48 +01:00
dragonCASTjosh
45d619e80c Possible fix for PBR Artifacts 2017-06-12 20:48:33 +01:00
dragonCASTjosh
417ad2966a Small roughness tweek under area lights 2017-06-12 00:07:02 +01:00
dragonCASTjosh
e741c50b11 Improved Area Lighting 2017-06-11 21:37:53 +01:00
dragonCASTjosh
e0cd084c74 Improved Sphere lights 2017-06-11 20:11:31 +01:00
Lasse Öörni
392155397b Add / remove the vehicle Action when RaycastVehicle component is enabled or disabled. Closes #1954. Minor code reformatting in 46_RaycastVehicleDemo.as. 2017-06-03 23:22:29 +03:00
Lasse Öörni
94af133ca4 For increased sharpness and to avoid artifacts, switch UI texture to nearest filtering when scaling the editor UI. 2017-05-09 01:02:49 +03:00
1vanK
fa767d1dc1 40_Localization: Center mouse on start 2017-05-05 19:39:45 +03:00
Lasse Öörni
f413945c98 Fix editor UI resolution detection for whether to lay out the status text on 1 or 2 rows. 2017-05-03 02:00:53 +03:00
Lasse Öörni
d4df1937c8 Line breaks formatting for RaycastVehicle demo code. 2017-04-29 20:33:36 +03:00
Lasse Öörni
13cfad66ef RaycastVehicle code / comments formatting and AngelScript fix. RegisterRaycastVehicleLibrary function removed and class registration performed as part of Physics library initialization instead. 2017-04-29 20:21:55 +03:00
Sergey Lapin
ed210093d4 RaycastVehicle Lua demo code 2017-04-25 13:45:09 +03:00
Sergey Lapin
e50ec947a8 RaycastVehicle AngelScript demo code 2017-04-25 13:45:09 +03:00
Sergey Lapin
2eb3a1183a RaycastVehicle C++ demo code 2017-04-25 13:45:09 +03:00
Lasse Öörni
5fecffe8bd Fix dialog centering in the editor to use UI root size instead of screen size, which may not be the same. 2017-04-22 13:03:06 +03:00
Yao Wei Tjong 姚伟忠
1d3c20aa70 Double up the editor UI when on High DPI display. 2017-04-14 19:57:16 +08:00
1vanK
150c4fb26d Export some consts to AngelScript 2017-04-09 22:17:34 +03:00
orefkov
1556605471 Clear tabs 2017-04-08 20:50:44 +03:00
orefkov
fa71240346 Add color wheel in editor for Text3D component. 2017-04-08 20:50:44 +03:00
Yao Wei Tjong 姚伟忠
8c9122ce25 Minor refactoring and cleaning on IK component's code. 2017-04-01 21:28:27 +08:00
Yao Wei Tjong 姚伟忠
a8dcfa2be9 Merge branch 'InverseKinematics' of https://github.com/TheComet93/Urho3D into TheComet93-InverseKinematics 2017-04-01 14:20:56 +08:00
Simon Flores
3173c6199c Update Transform.glsl
let the user define the number of outputs for advanced rendering effects such as subsurface scattering
2017-03-29 23:08:31 -04:00
Alex Murray
68f8d23411 Fixing issues raised by Mike3D (incorrect offset in sample, exposing auto solve) 2017-03-22 14:23:14 +01:00
TheComet
327965a40c Fixing build on windows, fixing segfault in release builds 2017-03-22 02:15:32 +01:00
TheComet
8fc0aa2866 Lua script bindings and CPP sample 2017-03-21 15:56:47 +01:00
TheComet
2be9286d38 Wrote AngelScript bindings, I'm still considering renaming a few things here and there 2017-03-21 15:56:47 +01:00
TheComet
cf30fb98c0 Adding IK library to Urho3D, enable/disable it with -DURHO3D_IK 2017-03-21 15:56:46 +01:00
Lasse Öörni
5f2b2132d7 Fix use of fileSystem.programDir in the terrain editor. Use the resource system / scene resource path instead. Closes #1852. 2017-03-19 12:12:35 +02:00
Enhex
0e2182b4e8 Updated sound effects Lua sample to use SetAutoRemoveMode() instead of nodes. 2017-03-15 21:15:56 +02:00
Enhex
490d402d4f Updated sound effects AngelScript sample to use SetAutoRemoveMode() instead of nodes. 2017-03-15 01:10:47 +02:00
Lasse Öörni
21ead269a4 Set renderorder 0 to example alpha pass decal materials to make sure they render before e.g. particles. Closes #1862. 2017-03-14 11:32:10 +02:00
Lasse Öörni
48a1f3dcdd Take fix from AngelScript WIP version to fix temp variable corruption. Remove now unnecessary fix from Editor script code. Closes #1850. 2017-03-08 14:26:52 +02:00
Lasse Öörni
ac821d21c1 Fix editor resource browser preview camera position and failure to assign model by drag & drop. Closes #1848. 2017-03-07 17:25:17 +02:00
Lasse Öörni
9999c44809 Fix resource browser scene node addition/removal getting reflected in the editor hierarchy window. 2017-03-07 16:55:52 +02:00
Yao Wei Tjong 姚伟忠
f7c9cfa95e Regex replace single bracket with double bracket in all shell scripts. 2017-03-05 08:45:38 +08:00
hdunderscore
25612d6e72 Bugfix for vegetation shader and instancing. 2017-02-23 14:17:44 +11:00
Lasse Öörni
7d06916bc5 Remove semicolon from shader transform (iModelMatrix) macros, as it should instead be part of the statement where the macro is being used. Closes #1829. 2017-02-20 21:14:27 +02:00
Lasse Öörni
2898952b08 Fix deprecated attributes in EditorTerrainWindow. 2017-02-18 23:01:57 +02:00
Lasse Öörni
4c877d98ee Merge remote-tracking branch 'luveti/editor-terrain' 2017-02-18 22:47:57 +02:00
luveti
1ce189361d Added brush visualizer to the TerrainEditor. 2017-02-16 23:16:12 -05:00
luveti
8d7b4b0b58 Make sure to clip undo / redo buffer bounds to the heightMap bounds in the TerrainEditor 2017-02-16 01:14:31 -05:00
luveti
7798f1f2ca Added basic undo / redo support 2017-02-15 23:21:37 -05:00
luveti
3511050a96 Updates to Terrain Editor
+ Added settings for the currently selected tool. This includes brush size, brush opacity, and brush height
+ Improved the speed of the smoothing algorithm by removing the new Array that was being created
+ Ignore transparent pixels in the smoothing algorithm
+ The "Create Terrain" action now creates a new image, saves it to Textures folder and adds it to the scene
+ Hid the "Paint" tools, as they have yet to be implemented
2017-02-14 00:52:49 -05:00
1vanK
4b901d2c05 Editor: F3 also toggle Physics2D debug geometry 2017-02-13 12:34:32 +03:00
luveti
79dc24003c More coding convention updates to Terrain Editor 2017-02-11 23:53:56 -05:00
luveti
d56ccd619d Use 4 spaces instead of tabs in Terrain Editor 2017-02-11 23:50:15 -05:00
luveti
6e250289a8 Merge remote-tracking branch 'github/master' into editor-terrain
# Conflicts:
#	bin/Data/Scripts/Editor.as
#	bin/Data/Textures/Editor/EditorIcons.png
2017-02-11 23:46:00 -05:00
luveti
6950ad7c7d Updated Terrain Editor UI to work with latest version of Urho3D. 2017-02-11 23:41:16 -05:00
Lasse Öörni
2821837f2a Remove zero damping from Urho2DConstraints sample to eliminate jittering behavior. Closes #1816. 2017-02-11 15:33:09 +02:00
Lasse Öörni
337056b657 Squashed commit of the following:
commit 53b7204fded9ce69fa69e96b0531a12161c1036d
Author: Liichi <lisandrobruzzo@gmail.com>
Date:   Tue Feb 7 13:52:27 2017 -0300

    Restore windows positions when viewportmode switch

    Now the hierarchy and inspector windows will be restored to original state if you switch between viewport_compact and others.

commit 8a15c06ea468fd42268fa3d937433ff624b03a42
Author: Liichi <lisandrobruzzo@gmail.com>
Date:   Mon Feb 6 15:04:43 2017 -0300

    Replaced tabs by spaces.

commit 9663fef07f5dcebc3a78d2e82c875736cb6d1a70
Author: Liichi <lisandrobruzzo@gmail.com>
Date:   Mon Feb 6 14:56:06 2017 -0300

    Replaced tabs by spaces.

commit 6fbea29b26491675d9783769cc9f01e8f925dabe
Author: Liichi <lisandrobruzzo@gmail.com>
Date:   Mon Feb 6 14:49:15 2017 -0300

    Replaced tabs by spaces.

commit 6dbe8b451e444391f82c642374f1bcba506035ce
Author: Liichi <lisandrobruzzo@gmail.com>
Date:   Mon Feb 6 14:48:30 2017 -0300

    Replaced tabs by spaces.

commit 1d3c98689183abcc99271a65fe9ec3d9be5b6ca0
Author: Liichi <lisandrobruzzo@gmail.com>
Date:   Mon Feb 6 14:19:00 2017 -0300

    Fixed stats text position.

commit 9632876aee4470d722872223f62a072cef1e8137
Author: Liichi <lisandrobruzzo@gmail.com>
Date:   Mon Feb 6 13:54:20 2017 -0300

    Prevent inspector hide if viewport_compact

commit 46775b205bb340dddcb2f1950d9c1912845d36aa
Author: Liichi <lisandrobruzzo@gmail.com>
Date:   Mon Feb 6 13:52:25 2017 -0300

    Prevent hierarchy hide if viewport_compact

commit b301b244a47c4f374ca7b97f6c06029f95531c5e
Author: Liichi <lisandrobruzzo@gmail.com>
Date:   Mon Feb 6 13:47:10 2017 -0300

    Replaced .visible by functions.

commit a30879d68d2145c6521a9ed9f7d282e9f63b4404
Author: Liichi <lisandrobruzzo@gmail.com>
Date:   Mon Feb 6 13:42:51 2017 -0300

    Enable hierarchy/inspector on compact viewport mode.

commit d6f9d2748e96d8f7b76ea875e5079385f4d9af60
Author: Liichi <lisandrobruzzo@gmail.com>
Date:   Mon Feb 6 13:30:18 2017 -0300

    Clean version of code

    Now the content of SetCompactMode is inside of SetViewportMode.
    Code commented.
    Now the code match the engine code convention.

commit 9777750d41f6f45701438b65fae20ea008db3f71
Author: Liichi <lisandrobruzzo@gmail.com>
Date:   Sat Feb 4 17:21:57 2017 -0300

    Update EditorView.as

commit e00dbbac2a528a535dab2e1bbc24fe91933caf3b
Author: Liichi <lisandrobruzzo@gmail.com>
Date:   Sat Feb 4 17:18:11 2017 -0300

    Added compact option to viewport mode list.
2017-02-09 15:34:36 +02:00
Lasse Öörni
171896ddb4 Hide instead of skip UI element internal vars in AttributeEditor so that indexing works for user-added UI element variables (subindex 0 must always be found in current implementation.) Closes #1788. 2017-02-06 19:00:12 +02:00
Mateus Vendramini
78b77ed48f Fixing small typos in comments 2017-02-05 17:33:01 -02:00
Henrik Heino
2d8c0cf247 IntVector2 bindings, conversions, serialization, etc.
Also two typos "Intvector2" and "Intrect" fixed.
2017-01-29 17:57:16 +02:00
1vanK
0c1c14871c Remake 'Anonymous Pro.sdf' font 2017-01-19 19:54:03 +03:00
1vanK
c4de7c004a Fix Kachujin BoundingBox 2017-01-17 23:32:37 +03:00
MonkeyFirst
0d91a1b412 minor fixes: sizes, font, adjust offsets, b.mode key 2017-01-17 23:56:49 +07:00
MonkeyFirst
8828740464 Use Ctrl instead Alt for deselecting with PaintSelection 2017-01-17 19:25:21 +07:00
MonkeyFirst
b0cade9697 add global handlers 2017-01-17 06:24:55 +07:00
MonkeyFirst
984ba731bb PaintSelection and Origins 2017-01-17 06:23:21 +07:00
Lasse Öörni
314a3af082 Fix artifacts in SDF text effects when supersampling is off. 2017-01-10 11:46:03 +02:00
1vanK
51c6fb5e2d SDF supersampling 2017-01-08 16:56:32 +03:00
Lasse Öörni
8b4ddd5289 Use ALPHAMAP shader define in Text shader to differentiate between alpha texture (TTF) and RGBA (bitmap fonts). Closes #1750. 2017-01-07 19:09:05 +02:00
Yao Wei Tjong 姚伟忠
53d213eb50 Minor refactor to remove the '***' as the repeat indicator.
The script already knows when the nested attributes repeat itself.
2017-01-07 14:08:37 +08:00
Yao Wei Tjong 姚伟忠
8fd264c73e Fix minor typo in editor resource browser script. 2017-01-07 13:02:36 +08:00
Lasse Öörni
c548d8ed24 Merge remote-tracking branch 'arnislielturks/console-update' 2017-01-04 16:05:28 +02:00
Lasse Öörni
e93fa4d7b3 Replace small version of old logo with slightly larger picture. For now editor does not display a logo in the top bar, since the new logo would become mostly illegible. 2017-01-04 14:39:14 +02:00
Arnis Lielturks
e89a769a76 console text highlighting, style detection by log level improved 2017-01-04 10:50:19 +02:00
Eugene Kozlov
48b82e136e Fix typo in Editor scripts. 2017-01-03 18:27:06 +03:00
Arnis Lielturks
ffbe619c8a log message colour in console displayed based on it's type 2017-01-03 17:09:59 +02:00
Lasse Öörni
496b2d39f8 Merge remote-tracking branch 'Modanung/new-icon' 2017-01-02 19:16:53 +02:00
Lasse Öörni
b5a7d764bd Replace "***" with a divider element. 2017-01-02 18:11:12 +02:00
Lasse Öörni
c9884af9a6 Minor code edit, prefer GetObjectAttributeInfos() since it's asking for a single object's attributes. 2017-01-02 17:57:47 +02:00
Lasse Öörni
1f1433847d Merge remote-tracking branch 'KonstantinTomashevich/allow-define-vector-structs-attributes' 2017-01-02 17:43:15 +02:00
Modanung
c17a63dd57 Switched to new icon 2017-01-02 11:47:22 +01:00
Konstant
c70b6cf7ae Fix another misspelling. 2017-01-02 11:23:52 +02:00
Lasse Öörni
11f099c655 Minor style edits. Use position instead of iterator in autocomplete to be safe against iterator invalidation. Add Lua binding to autocomplete. Add short description of the new feature being demonstrated in sample 26. 2017-01-01 22:35:16 +02:00
Enhex
f0e05cb7e1 Console auto complete 2017-01-01 22:35:14 +02:00
Konstant
40907e4ec1 Return " >areaCost" variables to AttributeEditor. 2017-01-01 20:29:14 +02:00
Konstant
7244503cef Update AttributeEditor. 2017-01-01 20:24:09 +02:00
1vanK
9d7dceb2f2 06_SkeletalAnimatin: fix running out bounds, lighting correction
Fix excessive specular on Kachujin texture
2016-12-30 13:58:41 +03:00
Lasse Öörni
299dbf803b Squashed commit of the following:
commit 8b67f0edcb9b588c70df1676bdbfa4853e50c3aa
Author: Lumak <lumak5309@gmail.com>
Date:   Thu Dec 29 10:18:40 2016 -0800

    corrected to stonetiled mat

commit c17d68b1e0ed5435c492a26ed8010c4f4aa708eb
Author: Lumak <lumak5309@gmail.com>
Date:   Thu Dec 29 10:14:20 2016 -0800

    removed proto mat/texture

commit 1c322d19556d7796c4958a920203e5b1c80af843
Author: Lumak <lumak5309@gmail.com>
Date:   Wed Dec 28 12:18:59 2016 -0800

    replaced the Jack with Jill in 06_SkeletalAnimation sample
2016-12-29 20:39:28 +02:00
Lasse Öörni
adf96469ef Replace LogoLarge.png with new logo & redirect README.md back to it, since svg doesn't appear properly on the project page. 2016-12-19 20:02:05 +02:00
Lasse Öörni
790772ec79 Squashed commit of the following:
commit 79d66503554c716c6a3c31f6c9e0aed46832c6bb
Author: Modanung <frode@lindeijer.nl>
Date:   Mon Dec 19 02:45:45 2016 +0100

    More clearly defined character edges in FishBoneLogo.png

commit fbfa9285f78819b4f1f3c42673f61f55c5ce5d06
Author: Modanung <frode@lindeijer.nl>
Date:   Mon Dec 19 02:27:07 2016 +0100

    Removed alpha anomaly in FishBoneLogo.png

commit 07161d555ed3ab3a13ac7c2f8ae0c0abfc7688a8
Author: Modanung <frode@lindeijer.nl>
Date:   Mon Dec 19 02:21:27 2016 +0100

    Improved lighting on FishBoneLogo.png

commit 5ec68be44517a4fd0ebd19b7bc73b98117af5f62
Author: Modanung <frode@lindeijer.nl>
Date:   Mon Dec 19 01:05:58 2016 +0100

    Tuned down alpha to zero for low-alpha areas

commit 55fc6df7302597f2e8281283748b5f3723297362
Author: Modanung <frode@lindeijer.nl>
Date:   Sun Dec 18 23:12:32 2016 +0100

    Increased size of black and white fish bone logo

commit 2c3ef9af05df91149132a3ac137e51a424be98f6
Author: Modanung <frode@lindeijer.nl>
Date:   Sun Dec 18 23:11:03 2016 +0100

    Updated black and white fish bone logo

commit 47adbcf0463937726b406c1ee7deead3d568bf63
Author: Modanung <frode@lindeijer.nl>
Date:   Sun Dec 18 23:08:51 2016 +0100

    Replaced logo in readme and samples
2016-12-19 19:49:17 +02:00
luveti
ba5e3a3097 Moved Editor resources into correct bin folder 2016-12-18 20:18:47 -05:00
luveti
4e87e746f2 Merge remote-tracking branch 'github/master' into editor-terrain
# Conflicts:
#	Bin/Data/Textures/Editor/EditorIcons.png
#	bin/Data/Scripts/Editor.as
#	bin/Data/Scripts/Editor/EditorScene.as
#	bin/Data/Scripts/Editor/EditorUI.as
#	bin/Data/UI/EditorIcons.xml
2016-12-18 20:15:52 -05:00
Lasse Öörni
fef73ba4c4 Squashed commit of the following:
commit 06f4d6afab933e32eaf3428dd080766b11a87f82
Author: Lasse Öörni <loorni@gmail.com>
Date:   Sun Dec 18 18:31:39 2016 +0200

    Black variant of logo.

commit 8fa11f888de023fcc76f26908e2ea77ebfd3146b
Author: Lasse Öörni <loorni@gmail.com>
Date:   Sun Dec 18 17:12:14 2016 +0200

    New logo in Lua samples.

commit 1283e38db1164a1c1e5db7d1042feabf996031fb
Merge: 4062553 4f5a2ea
Author: Lasse Öörni <loorni@gmail.com>
Date:   Sun Dec 18 16:51:04 2016 +0200

    Merge remote-tracking branch 'Modanung/new-logo'

commit 4f5a2ea104feeac12b87d3fb89d116e1866c2513
Author: Modanung <frode@lindeijer.nl>
Date:   Sun Dec 18 05:36:37 2016 +0100

    Also replaced logo in angelscript samples

commit 7c6e5e90c4dc82705883806e46b0957a44fbc787
Author: Modanung <frode@lindeijer.nl>
Date:   Sun Dec 18 03:34:31 2016 +0100

    Changed logo in samples to fishbone logo
2016-12-18 18:48:39 +02:00
Lasse Öörni
3e4ca7ae33 Move VSM shadow z/w divide to pixel shader so that e.g. shadowed point lights will work much better. Related to #1716. 2016-12-17 01:27:51 +02:00
gleb
43b579feb6 Line primitives. Could be very useful models for debug, user interface etc. 2016-12-08 22:48:58 +00:00
gleb
feb9cd071d Material preview model 2016-12-04 22:55:39 +00:00
Lasse Öörni
16eea39499 Fix rotation of UV's in the plane model so that 10_RenderToTexture sample looks as expected. 2016-12-03 23:53:03 +02:00
Lasse Öörni
d7cf72563c Fix recent shader change for GLES. 2016-11-19 22:28:37 +02:00
Lasse Öörni
ade01f61af Remove isAreaLight variable completely from Light class, as it's unused. Some cleanup / comment changes. Fix PBRDeferred GLSL shader. 2016-11-18 10:03:23 +02:00
Lasse Öörni
b8d55583f7 Squashed commit of the following:
commit a384431cd1ce230630d6a4522022de919cb55ac9
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Thu Nov 10 00:16:26 2016 +0000

    Fixed typing and style errors

commit d4f8ca2eeed2b0196b46bd391e96a511594dc738
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Thu Nov 10 00:14:02 2016 +0000

    Removed isAreaLight from attibutes

commit 62d50f3ba94d9c665358dcd7377730d968fde7be
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Mon Nov 7 22:53:45 2016 +0000

    Added documentation on area lighting options

commit 53e5844bee5caccc2a37f0dcdac3b8d4a984dd62
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Sat Nov 5 17:15:14 2016 +0000

    Fixd spacing

commit 5afa4ec59c1ecd2aa4892d4854e3b954af9cc73f
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Sat Nov 5 06:00:19 2016 +0000

    Fixed materials under deferred and light position in the scene

commit 314bc5847a44979b89f46a0272fcf5cd0f04e866
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Sat Nov 5 05:14:27 2016 +0000

    Fixed Deferred rendering

commit bde3560de71ab5a33c9cc3a4ee40029567cca5bf
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Sat Nov 5 03:26:54 2016 +0000

    Area lighting, improved IBL and improved attenuation for OpenGL

commit 52be0fc67626a9c8901091445be52bdbe99657d1
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Sat Nov 5 01:23:53 2016 +0000

    Intergrated Area ligthing with the editor, and improved texture quality

commit 5044bebe3d8799dee687ca676334f4493586d376
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Mon Oct 24 09:25:15 2016 +0100

    Tube lighting HLSL

commit f3849a93d1812345b21918a7418d12c8d3e1e3dd
Author: dragonCASTjosh <dragonCASTjosh@gmail.com>
Date:   Mon Oct 24 09:01:10 2016 +0100

    Improve IBL

commit 210bfaebb40ed977eb46f0f6f91b3b6a49ec25a7
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Thu Sep 15 12:32:15 2016 +0100

    Made sphere lights closer to epics paper

commit c186870e9e79de9572b5302019598ac059af58cf
Author: joshua Nuttall <dragoncastjosh@live.com>
Date:   Thu Sep 15 11:57:39 2016 +0100

    Added sphere light and beginning of tube lights
2016-11-18 02:02:05 +02:00
Lasse Öörni
f1cb469a34 Fix getting world-space tangent for billboards. Closes #1678. 2016-11-09 22:57:34 +02:00
Lasse Öörni
467729bae7 Minor comment edits and missing bindings. Move VAR_RECT last in the enum to not break potential binary scenes/prefabs. Set StaticSprite2D rect attribute default values to Rect::ZERO for more pleasant editing. Editing of VAR_RECT attributes. 2016-11-07 22:04:46 +02:00
Eugene Kozlov
a8f4728951 Optimize object spawn via script in Editor. Closes #1664. 2016-11-05 19:54:33 +03:00
Lasse Öörni
d7f0c06644 Fix mistakenly disabled depth test in "shrinking" soft particle techniques. Remove unnecessary abs() function in soft particle shaders when on the "shrinking" path. 2016-11-03 20:45:26 +02:00
eugeneko
e44dda965c Merge pull request #1669 from eugeneko/master
Optimize Editor work with temporary objects
2016-11-01 20:58:18 +03:00
Eugene Kozlov
5482ae7396 Optimize Editor work with temporary objects, part 2. 2016-11-01 09:09:13 +03:00
Lasse Öörni
352a62536c Initialize depth in Deferred & Prepass renderpaths to allow sampling the depth buffer even if no opaque geometry has been rendered. Documentation edits. 2016-10-31 19:06:13 +02:00
Lasse Öörni
a04bf5629a Refactored soft particle handling to not use unique renderpath files. Closes #1670. 2016-10-31 18:25:54 +02:00
Eugene Kozlov
7a24d5b2c7 Optimize Editor work with temporary objects. 2016-10-30 00:21:59 +03:00
Johnathan Jenkins
d78fc4020f minor typos 2016-10-28 13:07:14 -07:00
Lasse Öörni
fe65264301 Added "expanding" option for soft particles, which requires hardware depth test off. Improve soft particles documentation on the renderpath page. Closes #1623. 2016-10-28 22:19:37 +03:00
Lasse Öörni
f7b0a04666 Merge remote-tracking branch '1vanK/master' 2016-10-28 14:45:50 +03:00
1vanK
b8acdcb42d Add vertex colors to standart primitives 2016-10-28 13:57:54 +03:00
Lasse Öörni
5804347ab2 Reverse saturation fix also for GLSL. 2016-10-28 12:46:32 +03:00
Lasse Öörni
3564686a34 Fix DeferredSP & PrepassSP renderpaths not clearing depth. Fix reverse saturation of faded billboard on D3D11. Fix depth shader compile error on D3D11 when alphamasked. 2016-10-28 12:27:17 +03:00
Lasse Öörni
861a85fb1f Separate unlit particle shaders & techniques for optional soft particle support. Soft particles versions of renderpaths. Soft particle shaders adapted from work by 1vanK & MonkeyFirst (https://github.com/1vanK/Urho3DSoftParticles). Fix Shadow shader failing for billboards. Fix ForwardHWDepth renderpath unnecessarily rendering depth in a separate pass. Closes #1623. 2016-10-28 08:36:50 +03:00
TheComet
82e09e8632 UIElement::CreateChildXML() returns child instead of bool. If loading fails, child is destroyed instead of keeping an empty child around 2016-10-15 21:47:16 +03:00
Yao Wei Tjong 姚伟忠
c13084b962 Add Lua binding for Model's SetVertexBuffer() and SetIndexBuffer().
Related to #1638.
2016-10-14 00:59:15 +08:00
Lasse Öörni
0e0066ad21 Merge remote-tracking branch 'victorholt/master' 2016-10-11 19:30:55 +03:00
Victor Holt
a2261f5a56 Updated the ProgressBar PR to include Lua and AngelScript bindings
Added the ability to show or hide the percent text
2016-10-10 23:38:48 -05:00
Lasse Öörni
20af1aa85f Demonstrate listing the vertex + index buffers to Model so that it can be saved correctly. Lua bindings not added for now due to problem with serializing a vector of object pointers. Closes #1638. 2016-10-10 15:44:31 +03:00
Eugene Kozlov
b47a5cbd6d Fix error in Skybox.hlsl when instancing is forced on. 2016-10-08 10:41:28 +03:00
Lasse Öörni
bca26b74eb Fix color wheel being created outside the screen in small resolutions. 2016-10-05 10:57:02 +03:00
Lasse Öörni
f8ebf2dbc9 Line antialiasing support in Graphics, Material, DebugRenderer classes. Closes #1627. 2016-10-05 00:17:05 +03:00
Lasse Öörni
72c2e82ee8 Support for bool & int constants in materials on OpenGL & Direct3D11. Added int uniform support to OpenGL. Removed code duplication for setting a Variant shader parameter. 2016-09-30 18:55:00 +03:00
Lasse Öörni
7658ad39c7 Remove commented out shader code. 2016-09-29 20:49:40 +03:00
Lasse Öörni
f13a10cb0c Fix behavior of SoundSource debug icons in editor. Closes #1620. 2016-09-27 20:21:16 +03:00
Lasse Öörni
1017e82fd9 Ignore files with no filename component for XML parsing in EditorResourceBrowser. .gitignore etc. 2016-09-24 19:36:03 +03:00
Lasse Öörni
08b083b323 Tightening of shadow related function signatures on GLES. Related to #1607. 2016-09-22 16:33:43 +03:00
Lasse Öörni
90efa3b976 Specify high precision for water shader varyings on GLES to fix shaky reflection/refraction texture sampling. Closes #1593. 2016-09-17 00:26:32 +03:00
Lasse Öörni
97eba580b5 Fix implicit conversion in normal offset shadow calculations. Closes #1586. 2016-09-15 16:35:33 +03:00
1vanK
bba9766c66 39_CrowdNavigation: animation sync 2016-09-14 11:24:20 +03:00
Lasse Öörni
b22768227f Possibility to enable alpha-to-coverage in either pass or material (all passes). Requires D3D11 or OpenGL and hardware multisampling enabled. Seems to look slightly different on D3D / OpenGL. Fixed depth bias not being copied in Material::Clone(). Closes #1578. 2016-09-12 23:43:45 +03:00
golden
5f7ef278be fix skydome glsl error 2016-09-11 13:27:47 +08:00
Lasse Öörni
6895a512af Pass-level mechanism for eliminating unnecessary shader compilation defines. Closes #1567. Use this mechanism to eliminate PACKEDNORMAL define from depth & shadow pass in normalmapped techniques. 2016-09-09 00:29:19 +03:00
Lasse Öörni
63043ebdf3 Demonstrate alpha mask, render order change & occlusion disable with a new example material in the SceneLoadExample demo scene. Porting note added related to missing techniques. 2016-09-06 12:00:50 +03:00
Lasse Öörni
695f75099e Remove specific AlphaMask & NormalPacked techniques, in favor of adding the necessary shader defines in the material instead. 2016-09-06 11:47:42 +03:00
Lasse Öörni
48f779e234 Add possibility for materials to define vertex & pixel shader compilation defines, like techniques & passes. Related to #1566. As a consequence, removed the "alphamask" hint from techniques (render order can be used instead) and automatic determination if material should occlude. Fixed bugs in Material JSON save. Allow JSONValue::Size() to also work in object mode. Added porting notes as necessary. 2016-09-06 10:01:32 +03:00
1vanK
61f8fb5205 Draw navigation debug geometry in Editor 2016-09-03 14:05:24 +03:00
Lasse Öörni
3d48522eb4 Refresh attribute inspector only for script reload, not for other resources. Related to #1557. 2016-09-01 23:23:56 +03:00
Lasse Öörni
773ba488ea Merge pull request #1550 from Lumak/master
fixed a bug where crash is caused by geometry having key animation
2016-08-31 12:45:54 +03:00
Lasse Öörni
8bef941082 Fix slowed down navigation crowd agent when node dirtied in E_CROWD_AGENT_NODE_REPOSITION. Send the event only after position has been updated. Check for only rotation changing when node dirtied, and do not update position / reset state in that case. Closes #1548. 2016-08-31 12:41:10 +03:00
Lasse Öörni
b3964e21c5 Demonstrate Z fighting elimination by depth bias in 10_RenderToTexture sample. Closes #1543. 2016-08-30 21:21:10 +03:00
Lasse Öörni
9d5380bc10 Remove extraneous f from GLSL code to satisfy the compiler. 2016-08-29 19:25:49 +03:00