Lasse Öörni
|
596c32345e
Force extra screen buffers to RGBA only on OpenGL 2.
|
il y a 10 ans |
Lasse Öörni
|
b8c7c59eca
Configure amount of allowed bones for hardware skinning based on the rendering API. Allow 128 bones on Direct3D 11 & OpenGL 3. Add -mb (maxbones) parameter to AssetImporter & OgreImporter. When using OpenGL 3, allow deferred rendering to use different MRT formats without forcing an RGBA substitute rendertarget.
|
il y a 10 ans |
Lasse Öörni
|
bd8f455e15
Minor code formatting.
|
il y a 10 ans |
Lasse Öörni
|
f450d0c3b4
Reuse constant buffer object number when resizing. Do not mark light queue to shadow batches, as it is unnecessary and could lead to shader parameter update bugs (requires further refactoring to prevent in the Graphics class.)
|
il y a 10 ans |
Lasse Öörni
|
a0a1d13109
Do pass queue lookup only once when executing the scene pass command.
|
il y a 10 ans |
Lasse Öörni
|
918d299450
Minor optimization of Drawable::MarkInView(): resize once instead of clear and push.
|
il y a 10 ans |
Lasse Öörni
|
6c3b8078f6
Split GetBatches() into sub-functions to aid in profiling. Minor optimization of View::GetTechnique() when using the default material.
|
il y a 10 ans |
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.
|
il y a 10 ans |
Lasse Öörni
|
db62248def
Only collect the shadow caster projection space merged bounding box when necessary (focused spot lights.)
|
il y a 10 ans |
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.
|
il y a 10 ans |
Lasse Öörni
|
988f1fdc33
Merge branch 'master' into render-refactor
|
il y a 10 ans |
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.
|
il y a 10 ans |
Lasse Öörni
|
3feb6875fd
Do not redirect final quad rendering to the backbuffer on OpenGL after rendertarget ping-ponging. Fixes #674.
|
il y a 10 ans |
Lasse Öörni
|
9f129ecd51
Merge branch 'master' into render-refactor
|
il y a 10 ans |
Lasse Öörni
|
9a98779ae9
Remove StreamFrequency related functions from Graphics public API as unnecessary.
|
il y a 10 ans |
Lasse Öörni
|
51c80107e9
Removed debug log prints from OGLGraphics.cpp. Fixed build warnings.
|
il y a 10 ans |
Lasse Öörni
|
88080dad31
Remove Shader Model 2 mode & instancing without stream offset (D3D9) as they are hard to test. Added Graphics::GetApiName() function.
|
il y a 10 ans |
Lasse Öörni
|
87338ce74c
Minor optimization of GetLitBatches() by calculating only once if the light has a negative color.
|
il y a 10 ans |
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.
|
il y a 10 ans |
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.
|
il y a 10 ans |
Lasse Öörni
|
5753a90b57
Speed up collecting visible drawables.
|
il y a 11 ans |
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.)
|
il y a 11 ans |
Lasse Öörni
|
6be3b14855
Merge branch 'master' into render-refactor
|
il y a 11 ans |
Gunnar Kriik
|
b2f4848115
Removal of hdrRendering variable caused compilation error when using the OpenGL renderer
|
il y a 11 ans |
Lasse Öörni
|
785997b596
Removed unused variable.
|
il y a 11 ans |
Lasse Öörni
|
0990fd72f2
Added Graphics::GetPixelUVOffset() to get the half-pixel offset required by D3D9, avoids #ifdef'ing. Clean up shadow matrix calculation.
|
il y a 11 ans |
Lasse Öörni
|
bb2ebf7568
Bump copyright to 2015.
|
il y a 11 ans |
Yao Wei Tjong 姚伟忠
|
f719e3a429
Remove explicit inclusion of precompiled header file.
|
il y a 11 ans |
Lasse Öörni
|
86df5e0a96
Use Renderer as the event sender for view update begin & end events to not break code relying on that.
|
il y a 11 ans |
Lasse Öörni
|
988d77f06c
Removed GetVisibility / SetVisibility from Drawable2D. Instead they are marked for view similarly as other drawables. Fixes #636.
|
il y a 11 ans |