dffab8cff1Add item to Edit menu ("Add children to SM-group") to add all children of the StaticModelGroup node as instances. Closes#676.
Lasse Öörni
2015-03-09 21:14:04 +0200
12c4f2a2b9Nullcheck materials before using them in Drawable2D sorting.
Lasse Öörni
2015-03-09 20:23:08 +0200
2239f5750fD3D11 screenshot save. Fix not releasing the backbuffer texture after GetResource().
Lasse Öörni
2015-03-08 22:45:59 +0200
4e308f21c33D textures on D3D11. Fixed the ColorCorrection shader.
Lasse Öörni
2015-03-08 20:16:15 +0200
72a153f1a3Fix Tonemap shader for D3D11.
Lasse Öörni
2015-03-08 16:23:23 +0200
871fc3abeaFix erroneous UI rendering after compiling the Text shader, by listing texcoord interpolator before color.
Lasse Öörni
2015-03-08 16:15:17 +0200
e106f1b389D3D11 clip plane support. Check that multisample level is supported. Various shader fixes.
Lasse Öörni
2015-03-08 02:57:08 +0200
b9278e0a94Implement partial rendertarget clear on D3D11. Implement Graphics::ResolveToTexture() on D3D11. Fix most post-process shaders on D3D11. Readded the custom constant buffer slot. Update documentation.
Lasse Öörni
2015-03-07 23:02:31 +0200
988f1fdc33Merge branch 'master' into render-refactor
Lasse Öörni
2015-03-07 17:59:37 +0200
e6194640ffDo not skip the assimp scene root, if it has non-identity transform or contains models itself.
Lasse Öörni
2015-03-07 16:34:29 +0200
1c549bceeeImport also empty child nodes in AssetImporter scene mode, unless disabled with the -ne option. Refactor handling of the root scene node to prevent unnecessary creation of a duplicate root node. Do not attempt to parse .json files as XML in the editor resource browser. Closes#673.
Lasse Öörni
2015-03-07 13:36:07 +0200
429f8d50fdFix to addd EMSCRIPTEN_SYSROOT into internal SYSROOT variable. [ci skip]
Yao Wei Tjong 姚伟忠
2015-03-07 13:32:32 +0800
693aeb97a8Add '--emrun' to general linker flag var instead of just for debug.
Yao Wei Tjong 姚伟忠
2015-03-07 12:14:53 +0800
0fe597223fAdd initial support for integration tests on Emscripten platform. At the moment the 'make test' cannot be run non-interactively yet on Linux host and Mac OS X host systems due to what-could-be a bug in 'emrun' script. The issue with 'emrun' has been reported to upstream (https://github.com/kripken/emscripten/issues/3234).
Yao Wei Tjong 姚伟忠
2015-03-07 11:52:42 +0800
f660213930Fix AngelScript API compile on VS2015. Add CMake bat file for VS2015.
Lasse Öörni
2015-03-07 01:09:13 +0200
6112220b16Cube maps, point light shadows & deferred / light prepass rendering on D3D11.
Lasse Öörni
2015-03-05 23:32:16 +0200
1d165f3e55Fix crash when calling FixInterpolation() on compressed sound data. Add better explanation as this function is normally not needed to be called.
Lasse Öörni
2015-03-05 20:45:20 +0200
6ef0f702c7For Travis CI - sync the samples first then update json data file. [ci skip]
Yao Wei Tjong 姚伟忠
2015-03-05 17:30:07 +0800
6c3d32d64aUse Urho3D custom HTML shell for Emscripten build. Simplify the custom command for share data generation since we are not going to "fix" the UUID issue of the file_packager.py anymore. Although this would mean the slightest change in the output JS file caused by UUID change could force a long relink process in our build. For Travis CI - upload Emscripten HTML5 samples to Urho3D main website. [ci package]
Yao Wei Tjong 姚伟忠
2015-03-05 16:23:59 +0800
8b49a21587Fix shadow alpha mask shader.
Lasse Öörni
2015-03-05 00:42:19 +0200
4542e38b73Fix terrain shader on D3D11.
Lasse Öörni
2015-03-05 00:32:25 +0200
17cf79ab82D3D11 rendertarget and initial shadow (directional & spot light) support. Fix creating too many rasterizer states for depth bias by quantizing. Fix crash on exit if states failed to create.
Lasse Öörni
2015-03-05 00:21:21 +0200
6f68c07486Moved std::begin() and std::end() for Urho containers into their respective header files, so that including ForEach.h is not needed for using the native range-based for.
Lasse Öörni
2015-03-04 16:38:04 +0200
6fd6efc4c3Update PugiXml to 1.5. Do not attempt to parse .txt & .icns files as xml in the editor resource browser, to prevent log spam.
Lasse Öörni
2015-03-04 16:10:21 +0200
d34dd34fc9Use array for glyph index to char code mapping.
aster2013
2015-03-04 10:05:20 +0800
e7f6e04eecPreserve the JS output file timestamp to avoid unnecessary re-link. At the moment a re-link may still take place due to a limitation of Emscripten's file_packager.py tool.
Yao Wei Tjong 姚伟忠
2015-03-04 00:28:59 +0800
4d34d0a626Add new Emscripten build option for creating shared data file.
Yao Wei Tjong 姚伟忠
2015-03-03 23:31:45 +0800
2a6401eb54Code cleanup on setup_emscripten_linker_flags CMake macro.
Yao Wei Tjong 姚伟忠
2015-03-03 13:14:49 +0800
3feb6875fdDo not redirect final quad rendering to the backbuffer on OpenGL after rendertarget ping-ponging. Fixes#674.
Lasse Öörni
2015-03-02 21:04:34 +0200
02572a9ec5Add generic support for embedding and loading files for Emscripten. Via the following source file property "EMCC_OPTION". The supported property values are: js-library, pre-js, post-js, embed-file, preload-file, shell-file. The files are added as link dependency so a relink will automatically occur when they are modified (have newer timestamp than target).
Yao Wei Tjong 姚伟忠
2015-03-01 13:14:05 +0800
a3ae935de2Remove the HLSL4 directory.
Lasse Öörni
2015-03-02 03:41:10 +0200
e919935abdMerge back D3D9 & D3D11 shaders using macros. Removed the "custom" constant buffer slot; rather allow to prevent the default material CB from being defined.
Lasse Öörni
2015-03-02 03:39:21 +0200
7b339ef36bFixed rasterizer state hash calculation.
Lasse Öörni
2015-03-01 23:47:53 +0200
4ea4485d9fFix LitSolid & LitParticle shaders failing to create input layout (missing normals.) Log more detailed error when input layout creation fails.
Lasse Öörni
2015-03-01 21:33:55 +0200
d1a7fad925More SM4 shaders. Do not render on D3D11 when shaders are not valid.
Lasse Öörni
2015-03-01 19:25:20 +0200
73c847fbebSeparate D3D11 shaders as the compatibility mode did not sample eg. the light ramp texture correctly.
Lasse Öörni
2015-03-01 19:14:56 +0200
e7f83624aaFix update of smallest compressed texture miplevels on D3D11.
Lasse Öörni
2015-03-01 15:37:16 +0200
d7a16d6713Fix potential negative specular lighting. Fix recreating the sampler state when a texture has been reloaded.
Lasse Öörni
2015-03-01 14:08:01 +0200
480284fb23Removed the triangle count based instancing check, as instancing a large number of the same mesh should always result in less CPU time.
Lasse Öörni
2015-03-01 13:54:09 +0200
e870cd6624Implement flush GPU mode by calling SetMaximumFrameLatency().
Lasse Öörni
2015-03-01 03:04:06 +0200
876d1834ebAdd D3D11 sampler states. Fix crash on empty vertex declaration. Fix Matrix3x3 uniforms on D3D11. Modify gpuObjects_ to PODVector.
Lasse Öörni
2015-03-01 02:38:39 +0200
45d4e42240Remove the shader parameter enum from Lua bindings as it is not used anywhere in the script-callable API.
Lasse Öörni
2015-02-28 22:34:50 +0200
2d8696f7ddFix crash on fullscreen / windowed switch.
Lasse Öörni
2015-02-28 22:15:12 +0200
abe0614268Fix skinning on D3D11.
Lasse Öörni
2015-02-28 21:40:42 +0200
a1d1f08190Split uniforms into constant buffers on D3D11.
Lasse Öörni
2015-02-28 21:09:41 +0200
5ac8f1fb43Clean up / reorder light shader parameter handling.
Lasse Öörni
2015-02-28 18:52:53 +0200
f13a6a338fFix typo and unnecessary expansion of the terrain update region.
Lasse Öörni
2015-02-28 19:32:20 +0200
3af78c291bCode cleanup on CMake/Emscripten toolchain file. Remove hardcoding that we don't need.
Yao Wei Tjong 姚伟忠
2015-03-01 00:18:48 +0800
e8d4a05ab8Fix incorrect partial terrain update when smoothing was used. Improve worst-case performance for partial terrain update by only tracking one rectangular region that encloses the changed area.
Lasse Öörni
2015-02-28 16:07:20 +0200
52ac4912b4Minor code clean up on setting up the RPI supported ABIs. [ci skip]
Yao Wei Tjong 姚伟忠
2015-02-28 12:19:01 +0800
7a91aa0852Initial Texture2D support.
Lasse Öörni
2015-02-28 02:27:45 +0200
9612a5c164For Travis CI - add CI build jobs for Raspberry Pi 2.
Yao Wei Tjong 姚伟忠
2015-02-27 22:45:35 +0800
536b0a5429Add new build option for better targeting Raspberry Pi platform.
Yao Wei Tjong 姚伟忠
2015-02-27 22:19:44 +0800
d4524e25c7Fixed vertex position not getting passed to pixel shader. Rework the mechanism used to keep track of dirty constant buffers.
Lasse Öörni
2015-02-27 01:27:59 +0200
cf5f5e4a18Fixed missing CheckFeatureSupport() & missing PrepareDraw() in instanced draw call.
Lasse Öörni
2015-02-27 01:00:03 +0200
20756b554dApplied btGjkPairDetector fix from Bullet head revision.
Lasse Öörni
2015-02-26 11:15:49 +0200
4b6951f9f4For Travis CI - return exit code from worker thread correctly.
Yao Wei Tjong 姚伟忠
2015-02-26 17:15:32 +0800
e6908cf859Add Emscripten 'aggessive variable elimination' flag on Release build.
Yao Wei Tjong 姚伟忠
2015-02-26 16:14:07 +0800
ddcdf8ed10For Travis CI - speed up Emscripten Debug configuration build.
Yao Wei Tjong 姚伟忠
2015-02-26 15:54:10 +0800
e780854eecEnhance Rakefile to perform xcodebuild install in a worker thread. The main Ruby thread outputs '.' character while waiting for the worker thread to complete. This should avoid Travis-CI from thinking the install process has stalled.
Yao Wei Tjong 姚伟忠
2015-02-26 15:43:07 +0800
a936eab7c7Initial D3D11 constant buffer handling. If URHO3D_D3D11 option given, disable OpenGL, but error out on non-Windows platforms.
Lasse Öörni
2015-02-26 02:50:59 +0200
48483ac07cReduce number of distinct shader parameter groups to prepare for mapping them to constant buffers.
Lasse Öörni
2015-02-26 00:58:25 +0200
3685373e77Do not store window position in fullscreen mode; would be 0,0 and position the window to hard top-left after switching back to windowed.
Lasse Öörni
2015-02-26 00:04:56 +0200
6e6c39c5a8Add a ShaderProgram class also for D3D9, which holds the combined shader parameters. Cleaned up ShaderProgram handling on OpenGL. Optimized away repeated assignment of constant values from D3D9 SetShaderParameter().
Lasse Öörni
2015-02-25 21:30:58 +0200
cf77a15e6fFix Android build with LuaJIT enabled on Mac OS X host system. Take 2.
Yao Wei Tjong 姚伟忠
2015-02-25 22:46:11 +0800
904aedef93Fix Android build with LuaJIT enabled on Mac OS X host system. Close#670.
Yao Wei Tjong 姚伟忠
2015-02-25 19:07:53 +0800
4ce7ed6838Parse shader parameters & texture units. Removed comment stripping as it did not work reliably for SM4 shaders.
Lasse Öörni
2015-02-25 02:05:18 +0200
0c48c9df87Fix Assimp to not give negative light direction. Fix FOV handling for spot lights in AssetImporter. Added error prints to Editor if fails to execute AssetImporter. Closes#669.
Lasse Öörni
2015-02-24 12:19:25 +0200
1e1b44c4aaAdded placeholder for shader resource view in Texture classes. Fixed shader creation from bytecode to use the correct bytecode size.
Lasse Öörni
2015-02-24 02:12:47 +0200
f4aee7da2bVertex & index buffer creation & update. State object creation.
Lasse Öörni
2015-02-23 23:04:38 +0200
7b05a853d4Merge pull request #668 from AtomicGameEngine/Fix-View3D
Lasse Öörni
2015-02-23 02:31:49 +0200
9f129ecd51Merge branch 'master' into render-refactor
Lasse Öörni
2015-02-23 01:43:02 +0200
9a98779ae9Remove StreamFrequency related functions from Graphics public API as unnecessary.
Lasse Öörni
2015-02-23 00:32:50 +0200
281809121cSkeleton of D3D11 graphics classes. Does not render anything visible yet and many functions lack implementation.
Lasse Öörni
2015-02-22 22:44:12 +0200
4fd2fe20b8Fix Editor to not use the sm3Support variable any more.
Lasse Öörni
2015-02-22 02:19:23 +0200
51c80107e9Removed debug log prints from OGLGraphics.cpp. Fixed build warnings.
Lasse Öörni
2015-02-21 22:08:25 +0200
88080dad31Remove Shader Model 2 mode & instancing without stream offset (D3D9) as they are hard to test. Added Graphics::GetApiName() function.
Lasse Öörni
2015-02-21 20:45:55 +0200
87338ce74cMinor optimization of GetLitBatches() by calculating only once if the light has a negative color.
Lasse Öörni
2015-02-21 15:32:47 +0200
21d7883455Optimize and clean up base batch / vertex light batch processing. Fix light limiting not taking point light's effective intensity into account properly.
Lasse Öörni
2015-02-21 13:54:33 +0200
603e5fd7b8Reverting a change to fix an input bug -- mouse mode relative wasn't being recentered in non-emscripten builds.
hdunderscore
2015-02-21 01:32:07 +1100
e6ab7f5cccMore kNet include order fixes.
Lasse Öörni
2015-02-19 16:27:44 +0200
2d3f9bf141Include Socket.h earlier in kNet to potentially fix Winsock.h / Winsock2.h conflict.
Lasse Öörni
2015-02-19 15:25:01 +0200
445c87ed96Enforce LOCAL components in LOCAL nodes, as otherwise scene network synchronization will risk a component ID overwrite.
Lasse Öörni
2015-02-18 19:51:55 +0200
941821bde7Minor cleanup / optimization of StaticModel::UpdateBatches() & AnimatedModel::UpdateBatches().
Lasse Öörni
2015-02-18 01:06:37 +0200
20c79cdaafAvoid accessing Node::GetWorldTransform() in StaticModel::UpdateBatches() if possible to reduce cache misses when collecting drawables.
Lasse Öörni
2015-02-17 21:59:11 +0200
41b2bd749aReorder Drawable member variables and combine functions that are called when a Drawable is marked visible for slight performance gain. Remove hardcoded check for SkyBox for whether to not include a drawable in shadow focusing calculations, and instead check for a huge bounding box.
Lasse Öörni
2015-02-17 21:44:04 +0200
28b511df32Added copy cam transform to editor for easy cam alignment
Chris Friesen
2015-02-17 00:04:55 -0600
10e477bbc8Add flag to consider 'unresolved symbol' as an error.
Yao Wei Tjong 姚伟忠
2015-02-16 14:37:12 +0800
406b71d4c9If drawable does not limit number of per-pixel lights, no need to store them per drawable (skips allocation of dynamic memory for the light list.)
Lasse Öörni
2015-02-16 02:04:54 +0200
d3f90cbe08Make the URHO3D_LUA build option available for Emscripten build.
Yao Wei Tjong 姚伟忠
2015-02-16 07:23:10 +0800
5753a90b57Speed up collecting visible drawables.
Lasse Öörni
2015-02-16 00:04:52 +0200
56f64c60b9Texture unit refactoring. On desktop ensure continuous range of 8 material texture units, while mobile has 5. Material can define a volume (3D) texture in the volume unit (desktop only.)
Lasse Öörni
2015-02-15 15:33:16 +0200
6be3b14855Merge branch 'master' into render-refactor
Lasse Öörni
2015-02-15 12:59:09 +0200
5c0e992ef1Fixed a bug in touch input for Emscripten. Minor code cleanup.
hdunderscore
2015-02-15 19:08:14 +1100
b7d87c613fRefer to HTML5 platform more accurately.
Lasse Öörni
2015-02-14 23:37:48 +0200
3f2f88441dEnable cascaded shadows on Emscripten.
Lasse Öörni
2015-02-14 23:30:22 +0200