Yao Wei Tjong 姚伟忠
|
f943bb4faa
Unwarn patch for AppleClang. A few warnings were indeed coding error.
|
11 years ago |
Lasse Öörni
|
5f0ed3fcf8
Fix more header warnings that could leak to an Urho3D application using maximum MSVC warning level.
|
11 years ago |
Lasse Öörni
|
e68c051a35
Added rest of geometry types. Closes #413.
|
11 years ago |
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 years ago |
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 years ago |
Lasse Öörni
|
3d649a9f19
Fix calculating fullscreen resolution error metric. Closes #399.
|
11 years ago |
Aster@中国上海
|
80ce8a2a7c
Add ParticleEffect class.
|
11 years ago |
Lasse Öörni
|
1229b6cf1d
Instead of reverting to windowed if exact resolution match not found, use closest matching fullscreen resolution in Graphics::SetMode().
|
11 years ago |
Lasse Öörni
|
223f98451a
Change OpenGL pixel store settings to happen immediately after context creation. Otherwise crash could result when restoring texture data. Fixes #344.
|
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
|
210b295f81
Removed duplicate code from shadow map setup.
|
11 years ago |
Lasse Öörni
|
76d5ffdcf8
On OS X + Intel, use dummy color textures for shadow maps to work around a driver bug. Fixes #225.
|
11 years ago |
aster
|
4f8545f061
When external window exist, set alpha size to 8, fix issue #310. [ci skip]
|
11 years ago |
Yao Wei Tjong 姚伟忠
|
46285baf97
Refactor build scripts to group Urho3D specific build option.
|
11 years ago |
Lasse Öörni
|
f7b99ecdee
Added Matrix types to Variant. Added ToString() to Matrix types. Added Matrix getters/setters to XMLElement. Added ToMatrix string conversion functions. Added possibility to assign shader parameters from Matrix variants. Fixed missing setting of Color variant shader parameter on Direct3D9.
|
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
|
02e543ba5c
Support for per-pixel negative lights. Added BLEND_SUBTRACT & BLEND_SUBTRACTALPHA blend modes. Light code cleanup.
|
11 years ago |
Lasse Öörni
|
4d15a2c09b
Report correct window size in the screen mode event if maximizing the window on startup. Closes #247.
|
11 years ago |
aster2013
|
9b31d29a54
Add GetFullName in ShaderVariation, make code more clear.
|
12 years ago |
Lasse Öörni
|
cc9e5e1994
Moved to XML based shader precache files. Refactored shader precaching code to its own class. Closes #199.
|
12 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 |
Lasse Öörni
|
c3c177525d
Removed the "view texture" abstraction, which is unnecessary now, as all deferred renderpaths write directly to the destination rendertarget. Fixes #166.
|
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
|
5062dbba42
Sanitate screenshot name in the samples to ensure saving it succeeds. Prepend the executable path properly. Flip image in OpenGL Graphics::TakeScreenShot() instead of having the user to do it.
|
12 years ago |
Lasse Öörni
|
417e62f106
Detect deferred light volume batch and subtract camera position only in that case to allow the pixel shader light parameters (light position, shadow matrices etc.) to also be used in forward rendering if necessary.
|
12 years ago |
primitivewaste
|
d4fb9a9450
Add Zone height fog support, HeightFog shader option and techniques.
|
12 years ago |
Lasse Öörni
|
76292ef63e
Centralize allocation of event data variant maps to Context to avoid constant dynamic memory allocation.
|
12 years ago |
Lasse Öörni
|
39e13d49c8
Renamed the plane intercept parameter to "d" and reversed its sign so that it fits the conventional plane formula ax + by + cz + d = 0.
|
12 years ago |
Lasse Öörni
|
20b67638e3
Hack fix for render-to-texture failing on iOS.
|
12 years ago |