Lasse Öörni
|
ade01f61af
Remove isAreaLight variable completely from Light class, as it's unused. Some cleanup / comment changes. Fix PBRDeferred GLSL shader.
|
9 年 前 |
Lasse Öörni
|
b8d55583f7
Squashed commit of the following:
|
9 年 前 |
Mike3D
|
066448b26d
Fixed return value of Viewport::WorldToScreenPoint() for AS [ci skip]
|
9 年 前 |
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.
|
9 年 前 |
Lasse Öörni
|
f099b8e0a2
Expose read-only access to AnimationController's internal AnimationControl structures.
|
9 年 前 |
Lasse Öörni
|
f545877cc8
Merge pull request #1632 from 1vanK/master
|
9 年 前 |
Lasse Öörni
|
203cb06048
Merge remote-tracking branch 'eugeneko/master'
|
9 年 前 |
Lasse Öörni
|
f8ebf2dbc9
Line antialiasing support in Graphics, Material, DebugRenderer classes. Closes #1627.
|
9 年 前 |
Eugene Kozlov
|
6a469e6af8
Update return value of SharedPtr<T>::Detach.
|
9 年 前 |
Eugene Kozlov
|
b16b7f6f7a
Move Texture2D::GetImage and TextureCube::GetImage implementations.
|
9 年 前 |
Lasse Öörni
|
0ea9ed6e34
Possibility in DecalSet to size VB/IB to only size used by decals. Default off; causes reallocation whenever decals are added/removed and thus can have worse performance.
|
9 年 前 |
Lasse Öörni
|
c923476847
Merge branch 'master' into multisample-textures
|
9 年 前 |
Lasse Öörni
|
f01024881f
Add multisampling possibility for VSM shadows.
|
9 年 前 |
Lasse Öörni
|
749c283fb7
Since it appears none of the APIs support sampling a multisampled cube texture, remove the autoresolve parameter and always set it true if multisampled for cube textures. Make it a warning (not error) to attempt no autoresolve for a 2D multisampled texture on Direct3D9.
|
9 年 前 |
Lasse Öörni
|
a1e2bc9bd3
Make shader cache location configurable, default "urho3d/shadercache" in app preferences, to avoid writing to write-protected installation directory by default. Instructions in porting notes to restore earlier behavior. ShaderCacheDir & PackageCacheDir parameters added to engine startup parameters. Fix GetResourceFileName() function to return the unmodified filename if it's absolute and exists. Remove unnecessary mutex lock from GetResourceFileName(). Remove some code duplication from Graphics class implementations. Closes #1610.
|
9 年 前 |
Lasse Öörni
|
c745d2ea52
Multisampled cube rendertarget on Direct3D9.
|
9 年 前 |
Lasse Öörni
|
f75fbfa688
Add multisample & autoresolve definitions to RenderTargetInfo.
|
9 年 前 |
1vanK
|
eda96cd128
Add AnimationController::IsPlaying(layer) method
|
9 年 前 |
Lasse Öörni
|
56edbef9d6
Initial multisample support for Texture2D on Direct3D9.
|
9 年 前 |
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.
|
9 年 前 |
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.
|
9 年 前 |
Eugene Kozlov
|
02fae13ad6
Update face camera mode name and add script bindings.
|
9 年 前 |
Eugene Kozlov
|
d344cae791
Add new face camera mode to BillboardSet and Text3D.
|
9 年 前 |
Lasse Öörni
|
2fe4cb0131
Add max extrusion parameter for directional lights. Default to 1000. This prevents large far clip causing poor shadow map depth resolution and too strong effect of depth bias parameters, but can be increased if very tall shadows are needed.
|
9 年 前 |
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.
|
9 年 前 |
Lasse Öörni
|
bc8074a6f5
Added SetProjection() to camera, which sets custom projection matrix. This is reset by modifying any of the standard projection parameters (farClip, FOV etc.) Make sure camera's actual far & near clip are based on the projection matrix.
|
9 年 前 |
Lasse Öörni
|
48cd15bc5a
Store camera projection matrix as API-independent and convert as necessary (preparation for allowing the user to define a custom projection matrix.) Camera GetProjection() API changed; GetGPUProjection() is now used to get the API-specific projection for use as a shader parameter.
|
9 年 前 |
Lasse Öörni
|
bef8df21bb
Support defining neighbor terrains to avoid LOD level discontinuities at the edges.
|
9 年 前 |
Lasse Öörni
|
291b33df99
Squashed commit of the following:
|
9 年 前 |
Lasse Öörni
|
3fe5024cf7
Remove deprecated autoRemove bool from SoundSource. Replace with a more generic AutoRemoveMode enum which is now used by both SoundSource & ParticleEmitter.
|
9 年 前 |