Commit Graph

9869 Commits

Author SHA1 Message Date
Lasse Öörni
46440b55fc Do not use the sh variant of getting the git revision on MSVC, even if sh is in path, as MSVC uses cmd internally. 2014-02-05 12:16:09 +02:00
Daniel Wiberg
e2cf4d97de Fixed OgreImporter link problems on OS X 2014-02-05 00:51:46 +01:00
Lasse Öörni
1c0cc050a1 Added Image pixel manipulation, resize and clear functions. Added Image profiling blocks. Closes #171. 2014-02-05 01:26:24 +02:00
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. 2014-02-04 19:26:59 +02:00
Lasse Öörni
63bd03c6d6 Added document section on UI textures. 2014-02-04 18:05:17 +02:00
Lasse Öörni
45003707c0 Fixed substituteRenderTarget_ possibly being uninitialized. 2014-02-04 13:36:21 +02:00
Lasse Öörni
e0d5c7e02e Fixed D3D9 debug build. 2014-02-04 13:27:04 +02:00
Lasse Öörni
c683652b9d Shader migration instructions. 2014-02-04 12:45:26 +02:00
Lasse Öörni
85146c5317 Merge branch 'master' into shader-refactor 2014-02-04 11:30:03 +02:00
Lasse Öörni
cc6e6504f9 Simplified shader source code modification. 2014-02-04 02:57:13 +02:00
Lasse Öörni
248000b568 Adapted the rest of the postprocess shaders. 2014-02-04 02:45:17 +02:00
Lasse Öörni
2b95618cdb Adapted AutoExposure & BloomHDR shaders. Improved GLSL commenting out of the unnecessary shader function. 2014-02-04 02:25:00 +02:00
Lasse Öörni
5bc98f68d3 Exposed Texture2D::Load() to Lua. Added Detach() function to SharedPtr which will safely detach the pointer without destroying the object. To only be used in scripting integration. Fixed loading of texture with compressed data first and then uncompressed. 2014-02-03 23:50:03 +02:00
Lasse Öörni
4d6b9c2061 Prevent division by zero. 2014-02-03 23:00:40 +02:00
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. 2014-02-03 22:51:27 +02:00
Lasse Öörni
66ab76611a Minor documentation edit. 2014-02-03 17:09:41 +02:00
Lasse Öörni
383e248b44 Updated documentation for techniques, shaders and renderpaths. 2014-02-03 16:44:02 +02:00
aster2013
f2b0bb725d Update pkgToDox.lua, add global property section. 2014-02-03 21:43:09 +08:00
aster2013
4f91bf9307 Add support for compiled Lua file(with luc extension). 2014-02-03 21:10:56 +08:00
Lasse Öörni
9e37eb4d1e Refactored the basic postprocess shaders (bloom, greyscale, edgefilter.) 2014-02-03 14:54:36 +02:00
Lasse Öörni
dc5f4a1834 Merge branch 'master' into shader-refactor 2014-02-03 13:57:52 +02:00
Lasse Öörni
0610520768 Quads that don't read the viewport should not begin the pingpong chain. Fixes #167. 2014-02-03 13:24:53 +02:00
Lasse Öörni
eecb226ef7 Determine presence of sh.exe in path manually to see which command should use to generate the GIT revision. Closes #168. 2014-02-03 11:58:06 +02:00
urho3d-travis-ci
664a3a5a9b Travis CI: API documentation update at 2014-02-03 09:10:16 UTC.
[ci skip]
2014-02-03 09:10:16 +00:00
aster2013
54482c15d8 Merge branch 'master' of https://github.com/urho3d/Urho3D 2014-02-03 16:55:38 +08:00
aster2013
13e1069fcb Update Lua samples, use global property to access subsystem. 2014-02-03 16:54:13 +08:00
aster2013
8ab5e56c9c Move subsystem access function to subsystem's pkg file, add global readonly property for each subsystem. 2014-02-03 16:52:22 +08:00
aster2013
40354bcd87 Fixed typo in Renderer.h. 2014-02-03 16:47:41 +08:00
urho3d-travis-ci
c48c1b38a4 Travis CI: API documentation update at 2014-02-03 07:22:40 UTC.
[ci skip]
2014-02-03 07:22:40 +00:00
aster2013
4b13c8598e Lua API Update. 2014-02-03 15:08:20 +08:00
Lasse Öörni
f83c1d64f0 Use the -static switch on MinGW to prevent dependency on an external libpthread.dll on some MinGW distributions. 2014-02-03 02:59:15 +02:00
Lasse Öörni
fccf4fbe96 Changed the Direct3D library fallback mechanism: on MinGW the SDK is never searched for, because if it is found, the libraries likely are incompatible. Instead the fallback libraries are set in Urho3D-CMake-magic.cmake if the SDK was not found or not searched for. Documented the use of MinGW-w64 to enable a fully functional Direct3D build. 2014-02-03 02:48:11 +02:00
Lasse Öörni
92c8144621 Comment out sampler uniforms in GLSL vertex shaders. 2014-02-03 01:53:44 +02:00
Lasse Öörni
0bcb95e6a2 Refactored techniques + more GLSL & HLSL shaders. Fixed shader code loading for cases where only vertex or pixel shader source is present. 2014-02-03 00:19:13 +02:00
Lasse Öörni
c3c177525d Removed the "view texture" abstraction, which is unnecessary now, as all deferred renderpaths write directly to the destination rendertarget. Fixes #166. 2014-02-02 21:44:12 +02:00
Lasse Öörni
3e14caf89e Load/save cached binary HLSL shaders. Report SM3 supported on OpenGL to simplify code. 2014-02-02 21:43:50 +02:00
Lasse Öörni
782c3ac54e Removed the "view texture" abstraction, which is unnecessary now, as all deferred renderpaths write directly to the destination rendertarget. Fixes #166. 2014-02-02 19:15:11 +02:00
urho3d-travis-ci
4d142b315e Travis CI: API documentation update at 2014-02-02 15:42:59 UTC.
[ci skip]
2014-02-02 15:42:59 +00:00
aster2013
eda1b8c16f Update Lua API, Add Load and Save function in Resource. 2014-02-02 23:29:19 +08:00
aster2013
947999aa71 Add GetDepth in Lua API. 2014-02-02 22:51:52 +08:00
Lasse Öörni
70122ed481 Refactored LitParticle shader & technique. Try to reduce error prints for missing shaders in Renderer::GetShader(). 2014-02-02 15:12:13 +02:00
Lasse Öörni
caf080ecbb Initial refactoring of Direct3D9 shaders. ShaderCompiler removed. Bytecode not cached into files yet. 2014-02-02 14:54:46 +02:00
Lasse Öörni
db713bdba2 Avoid string allocations during View::Define() and Renderer::GetShader(). 2014-02-02 00:31:45 +02:00
Lasse Öörni
07f06563bc Optimized Renderer::GetShader() so that caching shader variation pointers becomes unnecessary for the most part. 2014-02-01 19:37:42 +02:00
Lasse Öörni
ea334e4393 Merge branch 'master' into shader-refactor 2014-02-01 16:14:11 +02:00
Lasse Öörni
6ccb31f6f5 Update to Bullet 2.82. 2014-02-01 15:59:25 +02:00
Lasse Öörni
7d818ab502 Do not refer to the graphics width,height in the Editor global variables so that compiling the editor script doesn't fail. Relayout viewports when Editor window is resized. 2014-02-01 15:19:25 +02:00
Lasse Öörni
d50403798a Update AngelScript to 2.28.1. 2014-02-01 15:05:53 +02:00
Lasse Öörni
6d5ddc23e0 Bump the copyright for 2014. 2014-02-01 14:37:21 +02:00
Lasse Öörni
d1a8f38e93 Return in Urho3DPlayer if the script language is not supported to prevent showing two error dialog boxes. 2014-02-01 14:37:20 +02:00