Commit Graph

10192 Commits

Author SHA1 Message Date
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
Lasse Öörni
fbda3de204 Enable also SSE math for GCC when SSE instructions are enabled. 2014-02-01 14:37:20 +02:00
Lasse Öörni
50c54346eb Check for not overshooting the target when moving in the Navigation sample. 2014-02-01 14:37:19 +02:00
urho3d-travis-ci
7da9208b15 Travis CI: API documentation update at 2014-02-01 00:04:28 UTC.
[ci skip]
2014-02-01 00:04:28 +00:00
Lasse Öörni
9f34d74cce Fixed taking windowed multisampled screenshots on Direct3D9. 2014-02-01 01:46:46 +02:00
Lasse Öörni
be060dfb8a Fix Jack looking in weird direction if teleporting to above or below. 2014-02-01 01:22:40 +02:00
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. 2014-02-01 01:07:03 +02:00
Lasse Öörni
045c68957d Convert Image back to spaces instead of tabs. Ensure that the file path is in native format before saving using STB / JO. 2014-02-01 01:05:27 +02:00
Lasse Öörni
2af8244543 Convert the Navigation sample to move the Jack character from current position to new target. Shift + LMB to teleport. 2014-02-01 01:04:50 +02:00
Mike3D
0026f57899 Extended Sample with ability to set window title and icon and take screenshots 2014-01-31 16:59:54 +01:00
Mike3D
2683ac8d75 Extended Sample with ability to set window title and icon and take screenshots 2014-01-31 16:58:16 +01:00
Mike3D
75321c632d Extended Sample with ability to set window title and icon and take screenshots 2014-01-31 16:56:50 +01:00
Mike3D
0e3389eb7b Update Sample.h 2014-01-31 16:55:06 +01:00
Mike3D
8037d75de0 Added follow path function. RecalculatePath()is no longer used but kept anyway. 2014-01-31 16:47:56 +01:00
Mike3D
4fbe271d0a Added follow path function. RecalculatePath()is no longer used but kept anyway. 2014-01-31 16:46:09 +01:00
Mike3D
431133127f Added follow path function. RecalculatePath()is no longer used but kept anyway. 2014-01-31 16:44:06 +01:00
Mike3D
188dddf601 Update Navigation.h 2014-01-31 16:39:49 +01:00
Mike3D
33b2244204 Fixed FindNearestPoint() and MoveAlongSurface() for angel script 2014-01-31 16:34:53 +01:00
Lasse Öörni
d7251f5f25 Fixed GLSL deferred lighting. Added profiling block for Renderer::GetShader(). 2014-01-31 11:39:32 +02:00
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. 2014-01-31 10:27:20 +02:00
Lasse Öörni
1a1fe9a24f Optimize Shader::SanitateDefines(). In debug mode, check that shader code uses each define. 2014-01-31 01:45:25 +02:00
Lasse Öörni
3004b08f66 Continued shader refactoring.
- Removed heightfog techniques, which will be replaced with in-engine shader variations
- Fixed LitSolid shader and some basic techniques
- If Pass specifies its own shaders, the defines from Technique aren't used
- Technique can specify the alphamask property globally for passes to avoid repetition
2014-01-31 00:35:10 +02:00
Lasse Öörni
e0f391b0fc Started shader refactoring.
- Removed ShaderParser
- Shader variations are requested by defines
- Shader class does not need to be render API specific
- Added shader defines to Pass & RenderPathCommand
- GLSL vertex/pixel shaders compile from the same file
- Converted the Basic & Stencil GLSL shaders
2014-01-30 23:55:39 +02:00
urho3d-travis-ci
0553058d58 Travis CI: API documentation update at 2014-01-30 18:21:27 UTC.
[ci skip]
2014-01-30 18:21:27 +00:00
Lasse Öörni
840a96d182 Merge pull request #163 from JTippetts/master
Expose Image constructor to LuaScript
2014-01-30 10:03:21 -08:00
vertexnormal
d5f87d9930 Expose Image constructor to LuaScript 2014-01-30 10:36:16 -07:00
urho3d-travis-ci
15621208ce Travis CI: API documentation update at 2014-01-29 19:11:41 UTC.
[ci skip]
2014-01-29 19:11:41 +00:00
Lasse Öörni
250d1ced11 Eliminated the static Context pointer from LuaScript subsystem. Removed classes which aren't actual subsystems from Context.pkg. 2014-01-29 20:49:23 +02:00