Commit History

Author SHA1 Message Date
  Lasse Öörni 1f91a44818 Removed the deprecated GetClassName() AngelScript Variant bindings. Fixed the Ragdolls example to not use them. 11 years ago
  Lasse Öörni 42265071a3 Added a multiplier+addition for depth bias on OpenGL ES platforms. Increased default constant depth bias of lights. 11 years ago
  Lasse Öörni 6bfcc28010 Allow a pass to be marked as SM3-only, so that rendering limitations can be defined as data-driven instead of hardcoding in the engine. Moved specular disable for SM2 shadowed pointlight from code to shaders. Mention in the documentation that some materials may be too complex for SM2 and dynamic shadows. 11 years ago
  Lasse Öörni c3425334a3 Switch forward light calculations back to world space instead of tangent space to avoid light attenuation bugs when TBN matrix is not orthogonal. Shader code becomes simpler and more similar between forward and deferred, and number of vertex shader variations is reduced, but disadvantage is a more complex pixel shader which requires disabling expensive features on SM2.0 to avoid exceeding the arithmetic instruction limit. Fix cube mapped point light displaying the cube map upside down. Closes #276. 11 years ago
  Lasse Öörni 35195939c1 Exposed allowed screen orientations (effective on iOS only currently) and the flush GPU setting as engine startup parameters. 11 years ago
  Lasse Öörni 094006ef91 Added brightness attribute to Light. Added separate equality test with and without epsilon to Color, similar to Vector2/3/4. 11 years ago
  Lasse Öörni 02e543ba5c Support for per-pixel negative lights. Added BLEND_SUBTRACT & BLEND_SUBTRACTALPHA blend modes. Light code cleanup. 11 years ago
  Lasse Öörni 65c3c50738 Shuffling around of Spline to the Core library to make explicit that it depends on Variant (the dependency is no longer strict as Urho3D library is built as one piece, but is good to keep in mind to retain the Math library theoretically reusable outside Urho3D.) 11 years ago
  aster2013 b9f106ce9d Add draw debug triangle in DebugRenderer. 11 years ago
  Lasse Öörni 4bd2eb0356 Refactoring of Drawable::IsInView() functions and drawable view tracking. 11 years ago
  Lasse Öörni bfd968f9d7 Removed the base batch / non-base batch separation from BatchGroup. This is only needed for light queues, so rather have LightBatchQueue have separate queues for base & non-base. 11 years ago
  Lasse Öörni abc6fcd8b8 Shader precaching mechanism. Call Graphics::BeginDumpShaders() or use the engine command line parameter -ds <file> to create a shader dump file of the variations that are loaded during program run, and Graphics::PrecacheShaders() to load the dump file. 12 years ago
  Yao Wei Tjong 姚伟忠 2fb1dc2edc Mark the deprecated AS API bindings in the documentation. 12 years ago
  Lasse Öörni 47836474e2 Variant pointer refactoring. Variant can now hold a weak pointer to a RefCounted object, which is safer, and is returned using GetPtr(). Engine events have been converted to use that mechanism. GetPtr() is also directly available in AngelScript, as well as assigning a RefCounted or derived class handle to a Variant. 12 years ago
  Lasse Öörni 809efdb4c6 Added the concept of persistent target in renderpath, which are not mixed in the rendertarget pool with other textures of same size & format. Used for the AutoExposure previous frame luminance. 12 years ago
  Lasse Öörni b1a7a8dade Exposed missing QUALITY_MAX constant to AngelScript. Do not assume the default zone has black fog (when used for additive pass.) Do not reload material shaders if material quality stayed same. Separate error in D3D9ShaderVariation Create() if the owning shader has expired, as on OpenGL. 12 years ago
  Lasse Öörni 381e9a04c3 Merge branch 'shader-refactor' 12 years ago
  Lasse Öörni 3491baafd0 Added more accurate but more expensive raycast for BillboardSet, which approximates the individual billboards as spheres and gives the billboard index as the subobject. RAY_TRIANGLE level raycast must be used to enable it. Removed the RAY_AABB_NOSUBOBJECTS raycast level, as it was not used anywhere. 12 years ago
  Lasse Öörni b76823a317 Added height fog mode boolean to Zone. Apply height fog shaders automatically. Changed height fog parameters to be relative to the zone node. 12 years ago
  Lasse Öörni ea334e4393 Merge branch 'master' into shader-refactor 12 years ago
  Lasse Öörni 6d5ddc23e0 Bump the copyright for 2014. 12 years ago
  Lasse Öörni e0f391b0fc Started shader refactoring. 12 years ago
  primitivewaste d4fb9a9450 Add Zone height fog support, HeightFog shader option and techniques. 12 years ago
  Lasse Öörni eb4e99457c Code cleanup. Removed Camera functions to return forward, right, up vectors as they are now also in Node. Added Lua property accessors for Node up/right vectors. Exposed SmoothStep() to script. Modified Node::LookAt() to use the new Quaternion function. Updated credits. 12 years ago
  Lasse Öörni cadb503976 Added transform by matrix functions to Plane. Added camera clipping plane support. Added basic reflective+refractive water shader + material. 12 years ago
  Lasse Öörni 3553b287ac Reflection plane support in Camera. Reflection plane clipping not yet implemented. 12 years ago
  Alex Parlett a63ab49ac5 Added the ability to specify whether a window is borderless or not (decorated with borders); 12 years ago
  Lasse Öörni 679007d1b5 Normalize whitespace, update documentation. 12 years ago
  Alex Parlett 2505149255 Added ability to specify window icon (external application window) using an Image resource and SDL cross platform capability 12 years ago
  Lasse Öörni 7e542be196 Added Save function to ParticleEmitter, which dumps the parameters as XML. Added menu items to editor to load/save ParticleEmitter parameters. Closes #51. 12 years ago