Lasse Öörni
|
c923476847
Merge branch 'master' into multisample-textures
|
9 ani în urmă |
Lasse Öörni
|
f01024881f
Add multisampling possibility for VSM shadows.
|
9 ani în urmă |
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 ani în urmă |
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 ani în urmă |
Lasse Öörni
|
c745d2ea52
Multisampled cube rendertarget on Direct3D9.
|
9 ani în urmă |
Lasse Öörni
|
f75fbfa688
Add multisample & autoresolve definitions to RenderTargetInfo.
|
9 ani în urmă |
Lasse Öörni
|
56edbef9d6
Initial multisample support for Texture2D on Direct3D9.
|
9 ani în urmă |
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 ani în urmă |
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 ani în urmă |
Eugene Kozlov
|
02fae13ad6
Update face camera mode name and add script bindings.
|
9 ani în urmă |
Eugene Kozlov
|
d344cae791
Add new face camera mode to BillboardSet and Text3D.
|
9 ani în urmă |
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 ani în urmă |
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 ani în urmă |
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 ani în urmă |
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 ani în urmă |
Lasse Öörni
|
bef8df21bb
Support defining neighbor terrains to avoid LOD level discontinuities at the edges.
|
9 ani în urmă |
Lasse Öörni
|
291b33df99
Squashed commit of the following:
|
9 ani în urmă |
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 ani în urmă |
Lasse Öörni
|
56ba0def78
Add Graphics::SetDither(). Closes #1489.
|
9 ani în urmă |
Lasse Öörni
|
af00713e12
Add Clone() to ParticleEffect & ParticleEffect2D. Closes #1469.
|
9 ani în urmă |
Lasse Öörni
|
4279990ea8
Minor fixes. Add script bindings and documentation for the new renderpath command.
|
9 ani în urmă |
Yusuf Umar
|
a9f7703f74
Add update invisible parameter to RibbonTrail and use it on the samples.
|
9 ani în urmă |
Yusuf Umar
|
f9e65027e3
Implementing RibbonTrail
|
9 ani în urmă |
Eugene Kozlov
|
c92894d250
Add support of custom per-instance data in batches.
|
9 ani în urmă |
Lasse Öörni
|
caf663eac3
Possibility for BillboardSet / ParticleEffect billboards to be fixed screen size. In this case the billboard size is measured in pixels.
|
9 ani în urmă |
Lasse Öörni
|
7da8374a3b
Option to override culling mode in pass. Closes #1363.
|
9 ani în urmă |
Lasse Öörni
|
7160a0ab7c
Normal offset shadow support for HLSL. Fix deferred specular calculation on HLSL.
|
9 ani în urmă |
Lasse Öörni
|
7fbf89b728
Add Clone() function to Animation. Expose Animation constructor in Lua.
|
9 ani în urmă |
Yao Wei Tjong 姚伟忠
|
31d362f879
Add new engine parameter for enabling/disabling high DPI window mode.
|
9 ani în urmă |
Lasse Öörni
|
19f3b0f120
Merge branch 'master' into vertexdeclaration
|
9 ani în urmă |