Commit History

Author SHA1 Message Date
  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 years ago
  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 years ago
  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 years ago
  Eugene Kozlov 02fae13ad6 Update face camera mode name and add script bindings. 9 years ago
  Eugene Kozlov d344cae791 Add new face camera mode to BillboardSet and Text3D. 9 years ago
  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 years ago
  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 years ago
  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 years ago
  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 years ago
  Lasse Öörni bef8df21bb Support defining neighbor terrains to avoid LOD level discontinuities at the edges. 9 years ago
  Lasse Öörni 291b33df99 Squashed commit of the following: 9 years ago
  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 years ago
  Lasse Öörni 56ba0def78 Add Graphics::SetDither(). Closes #1489. 9 years ago
  Lasse Öörni af00713e12 Add Clone() to ParticleEffect & ParticleEffect2D. Closes #1469. 9 years ago
  Lasse Öörni 4279990ea8 Minor fixes. Add script bindings and documentation for the new renderpath command. 9 years ago
  Yusuf Umar a9f7703f74 Add update invisible parameter to RibbonTrail and use it on the samples. 9 years ago
  Yusuf Umar f9e65027e3 Implementing RibbonTrail 9 years ago
  Eugene Kozlov c92894d250 Add support of custom per-instance data in batches. 9 years ago
  Lasse Öörni caf663eac3 Possibility for BillboardSet / ParticleEffect billboards to be fixed screen size. In this case the billboard size is measured in pixels. 9 years ago
  Lasse Öörni 7da8374a3b Option to override culling mode in pass. Closes #1363. 9 years ago
  Lasse Öörni 7160a0ab7c Normal offset shadow support for HLSL. Fix deferred specular calculation on HLSL. 9 years ago
  Lasse Öörni 7fbf89b728 Add Clone() function to Animation. Expose Animation constructor in Lua. 9 years ago
  Yao Wei Tjong 姚伟忠 31d362f879 Add new engine parameter for enabling/disabling high DPI window mode. 9 years ago
  Lasse Öörni 19f3b0f120 Merge branch 'master' into vertexdeclaration 9 years ago
  Lasse Öörni 2e44b0b350 Squashed commit of the following: 9 years ago
  Lasse Öörni 7b738c54ac Merge branch 'master' into vertexdeclaration 9 years ago
  Lasse Öörni 2b259e85e0 Change Texture::SetData() to take a raw pointer instead of shared to match rest of the API and simplify script bindings. 9 years ago
  Lasse Öörni 25f039b7e1 Add GetElementOffset & HasElement function bindings to AS VertexBuffer API. 9 years ago
  Lasse Öörni c872d6d335 Fix missing offset member in VertexElement AS binding. 9 years ago
  Mike3D b606060b98 Revert Graphics API commits af42c37 and b751108 9 years ago