Aster@中国上海
|
6bcc980119
Refactor ParticleEmitter class and add Lua API.
|
11 years ago |
Aster@中国上海
|
80ce8a2a7c
Add ParticleEffect class.
|
11 years ago |
Lasse Öörni
|
766a08060d
Clean up ParticleEmitter API. Removed resetPeriod option from SetEmitting(), instead the period is always reset if the state changes. Added separate RemoveAllParticles(), ResetEmissionTimer() & Reset() functions.
|
11 years ago |
Lasse Öörni
|
bf6a054ac4
Use ordinary DRAWABLE_GEOMETRY flag on 2D drawables so that they can be raycasted against. Use a DRAWABLE_PROXYGEOMETRY flag on DrawableProxy2D so that it won't show up in normal raycasts or octree queries. Fixes #345.
|
11 years ago |
Lasse Öörni
|
f232856ac1
Added manual VectorBuffer overloads for AngelScript functions that take a File handle for loading/saving. Cleaned up some script bindings code and fixed AngelScript binding for Image::LoadColorLUT().
|
11 years ago |
Lasse Öörni
|
84d06d2e61
Merged the face camera boolean and axes parameters used by BillboardSet & Text3D into a FaceCameraMode enum. Implement none, rotate XYZ, rotate Y, lookat XYZ & lookat Y modes. More can be added as necessary.
|
11 years ago |
Lasse Öörni
|
981b5bcac4
Use viewport sized intermediate rendertargets so that pixels outside the viewport never leak into post-processing. Added viewport multiplier mode to renderpath definition. Closes #265.
|
11 years ago |
Lasse Öörni
|
00e9dc0a79
Selectable axes for BillboardSet & Text3D camera facing. Default all axes (follow camera rotation fully). Fix ParticleEmitter faceCamera property not being exposed to AngelScript. Closes #325.
|
11 years ago |
aster
|
11a9b1f1dc
Bind material parameter animation to Lua and AngelScript, Add MaterialAnimation sample.
|
11 years ago |
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 |