Lasse Öörni
|
e68c051a35
Added rest of geometry types. Closes #413.
|
11 жил өмнө |
Lasse Öörni
|
8463393377
Initial resource background loading API and implementation. Background loading-capable implementation for textures (load image in background thread, upload image to GPU in main thread), other resources todo.
|
11 жил өмнө |
Lasse Öörni
|
e82b3d53a1
Added support for zones defining a texture (either cube or 3D), that will be available in pixel shaders when rendering objects inside the zone.
|
11 жил өмнө |
Lasse Öörni
|
b80fbc8817
Added Clone() function to Model, which deep-copies all data including vertex/index buffers, so that the clone can be individually animated. Closes #402.
|
11 жил өмнө |
Lasse Öörni
|
c85499b695
Allow relatively fast partial updates to a terrain by modifying the heightmap image and calling ApplyHeightMap(). Added WorldToHeightMap() function to Terrain for converting world coordinates to heightmap pixel positions.
|
11 жил өмнө |
Lasse Öörni
|
c3fc39132b
Made ParticleEmitter::ApplyEffect() public, as it's necessary if changing certain properties of the effect programmatically. Also mark network update if the emitter's effect is changed to none.
|
11 жил өмнө |
Aster@中国上海
|
7616457c21
Fix some functions name, add AS binding.
|
11 жил өмнө |
Aster@中国上海
|
6bcc980119
Refactor ParticleEmitter class and add Lua API.
|
11 жил өмнө |
Aster@中国上海
|
80ce8a2a7c
Add ParticleEffect class.
|
11 жил өмнө |
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 жил өмнө |
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 жил өмнө |
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 жил өмнө |
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 жил өмнө |
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 жил өмнө |
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 жил өмнө |
aster
|
11a9b1f1dc
Bind material parameter animation to Lua and AngelScript, Add MaterialAnimation sample.
|
11 жил өмнө |
Lasse Öörni
|
1f91a44818
Removed the deprecated GetClassName() AngelScript Variant bindings. Fixed the Ragdolls example to not use them.
|
11 жил өмнө |
Lasse Öörni
|
42265071a3
Added a multiplier+addition for depth bias on OpenGL ES platforms. Increased default constant depth bias of lights.
|
11 жил өмнө |
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 жил өмнө |
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 жил өмнө |
Lasse Öörni
|
35195939c1
Exposed allowed screen orientations (effective on iOS only currently) and the flush GPU setting as engine startup parameters.
|
11 жил өмнө |
Lasse Öörni
|
094006ef91
Added brightness attribute to Light. Added separate equality test with and without epsilon to Color, similar to Vector2/3/4.
|
11 жил өмнө |
Lasse Öörni
|
02e543ba5c
Support for per-pixel negative lights. Added BLEND_SUBTRACT & BLEND_SUBTRACTALPHA blend modes. Light code cleanup.
|
11 жил өмнө |
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 жил өмнө |
aster2013
|
b9f106ce9d
Add draw debug triangle in DebugRenderer.
|
11 жил өмнө |
Lasse Öörni
|
4bd2eb0356
Refactoring of Drawable::IsInView() functions and drawable view tracking.
|
11 жил өмнө |
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 жил өмнө |
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 жил өмнө |
Yao Wei Tjong 姚伟忠
|
2fb1dc2edc
Mark the deprecated AS API bindings in the documentation.
|
12 жил өмнө |
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 жил өмнө |