Commit History

Author SHA1 Message Date
  Lasse Öörni e2afa34bb7 Refactor Technique to not use HashTable for passes, but instead a vector with dynamically allocated pass indices. HashTable class removed as there were no other uses for it, and it was programmer-unfriendly compared to HashMap. 10 years ago
  Lasse Öörni db62248def Only collect the shadow caster projection space merged bounding box when necessary (focused spot lights.) 10 years ago
  Lasse Öörni c833b34b7a Remove Graphics::SetDrawAntialiased() as it does not help the situation it was created for (blurred UI rendering on Nvidia 16x multisampling on OpenGL) and it cannot be implemented on D3D11. 10 years ago
  Lasse Öörni 988f1fdc33 Merge branch 'master' into render-refactor 10 years ago
  Lasse Öörni 17cf79ab82 D3D11 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. 10 years ago
  Lasse Öörni 3feb6875fd Do not redirect final quad rendering to the backbuffer on OpenGL after rendertarget ping-ponging. Fixes #674. 10 years ago
  Lasse Öörni 9f129ecd51 Merge branch 'master' into render-refactor 10 years ago
  Lasse Öörni 9a98779ae9 Remove StreamFrequency related functions from Graphics public API as unnecessary. 10 years ago
  Lasse Öörni 51c80107e9 Removed debug log prints from OGLGraphics.cpp. Fixed build warnings. 10 years ago
  Lasse Öörni 88080dad31 Remove Shader Model 2 mode & instancing without stream offset (D3D9) as they are hard to test. Added Graphics::GetApiName() function. 10 years ago
  Lasse Öörni 87338ce74c Minor optimization of GetLitBatches() by calculating only once if the light has a negative color. 10 years ago
  Lasse Öörni 21d7883455 Optimize and clean up base batch / vertex light batch processing. Fix light limiting not taking point light's effective intensity into account properly. 10 years ago
  Lasse Öörni 41b2bd749a Reorder 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. 10 years ago
  Lasse Öörni 5753a90b57 Speed up collecting visible drawables. 10 years ago
  Lasse Öörni 56f64c60b9 Texture 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.) 10 years ago
  Lasse Öörni 6be3b14855 Merge branch 'master' into render-refactor 10 years ago
  Gunnar Kriik b2f4848115 Removal of hdrRendering variable caused compilation error when using the OpenGL renderer 11 years ago
  Lasse Öörni 785997b596 Removed unused variable. 11 years ago
  Lasse Öörni 0990fd72f2 Added Graphics::GetPixelUVOffset() to get the half-pixel offset required by D3D9, avoids #ifdef'ing. Clean up shadow matrix calculation. 11 years ago
  Lasse Öörni bb2ebf7568 Bump copyright to 2015. 11 years ago
  Yao Wei Tjong 姚伟忠 f719e3a429 Remove explicit inclusion of precompiled header file. 11 years ago
  Lasse Öörni 86df5e0a96 Use Renderer as the event sender for view update begin & end events to not break code relying on that. 11 years ago
  Lasse Öörni 988d77f06c Removed GetVisibility / SetVisibility from Drawable2D. Instead they are marked for view similarly as other drawables. Fixes #636. 11 years ago
  Lasse Öörni 4d320ad198 Fixed the "lightvolumes" render path command not allowing custom shader defines. Added hardware depth utilizing deferred & prepass renderpaths as an example. These use less bandwidth and therefore perform faster, but the deferred path will cause far plane artifacts on OpenGL due to stencil buffer not being available when a readable depth format is used. 11 years ago
  Lasse Öörni 0b3e6e2bbb Added "renderui" render path command to render the UI into an arbitrary rendertarget. This disables the default UI render to the backbuffer. Removed functions from UI Lua API that shouldn't be exposed to scripting (update, render.) 11 years ago
  Lasse Öörni d023b06b3d Get rid of overrideView_ member in Batch, as it is no longer used by Skybox, and directional light quads can be made to work without it. Cleanup Light code. 11 years ago
  Lasse Öörni b6caeb02a5 Document depth rendering. Disable depth write when sampling a HW depth texture. Disable stencil optimizations when using a custom depth texture, as in that case stencil channel availability can't be guaranteed. Changed -renderpath command line option to use the full resource name instead of defaulting to the RenderPaths directory. Removed test code from ForwardHWDepth renderpath. Closes #597. 11 years ago
  Lasse Öörni 6fc05e9373 Added support for defining custom depth-stencil textures in the renderpath, and performing depth-only rendering passes. Readded support for readable HW depth format (on D3D9 it uses the INTZ hack.) Improved RenderPath & Graphics Lua bindings. Added -renderpath command line option to specify the renderpath file to use. 11 years ago
  Yao Wei Tjong 姚伟忠 359efb2d37 Move the DebugNew.h from Urho3D/Container subdir to Urho3D subdir. 11 years ago
  Yao Wei Tjong 姚伟忠 0a2e601307 Change the include path for Precompiled header to fix MSVC build. 11 years ago