Lasse Öörni
|
833f84b346
Allocate the View object permanently for each viewport, so that rendering stats and visible geometries etc. can be reliably accessed from a particular viewport's View after rendering each frame.
|
vor 11 Jahren |
Lasse Öörni
|
56e0aad21d
Minor rendering code cleanup. Added Plane::Project().
|
vor 11 Jahren |
Lasse Öörni
|
42265071a3
Added a multiplier+addition for depth bias on OpenGL ES platforms. Increased default constant depth bias of lights.
|
vor 11 Jahren |
Lasse Öörni
|
c3425334a3
Switch forward light calculations back to world space instead of tangent space to avoid light attenuation bugs when TBN matrix is not orthogonal. Shader code becomes simpler and more similar between forward and deferred, and number of vertex shader variations is reduced, but disadvantage is a more complex pixel shader which requires disabling expensive features on SM2.0 to avoid exceeding the arithmetic instruction limit. Fix cube mapped point light displaying the cube map upside down. Closes #276.
|
vor 11 Jahren |
Lasse Öörni
|
abc6fcd8b8
Shader precaching mechanism. Call Graphics::BeginDumpShaders() or use the engine command line parameter -ds <file> to create a shader dump file of the variations that are loaded during program run, and Graphics::PrecacheShaders() to load the dump file.
|
vor 12 Jahren |
Lasse Öörni
|
809efdb4c6
Added the concept of persistent target in renderpath, which are not mixed in the rendertarget pool with other textures of same size & format. Used for the AutoExposure previous frame luminance.
|
vor 12 Jahren |
Lasse Öörni
|
dc5f4a1834
Merge branch 'master' into shader-refactor
|
vor 12 Jahren |
aster2013
|
40354bcd87
Fixed typo in Renderer.h.
|
vor 12 Jahren |
Lasse Öörni
|
db713bdba2
Avoid string allocations during View::Define() and Renderer::GetShader().
|
vor 12 Jahren |
Lasse Öörni
|
07f06563bc
Optimized Renderer::GetShader() so that caching shader variation pointers becomes unnecessary for the most part.
|
vor 12 Jahren |
Lasse Öörni
|
ea334e4393
Merge branch 'master' into shader-refactor
|
vor 12 Jahren |
Lasse Öörni
|
6d5ddc23e0
Bump the copyright for 2014.
|
vor 12 Jahren |
Lasse Öörni
|
e0f391b0fc
Started shader refactoring.
|
vor 12 Jahren |
primitivewaste
|
d4fb9a9450
Add Zone height fog support, HeightFog shader option and techniques.
|
vor 12 Jahren |
Wei Tjong Yao
|
02512cecf9
In order to move the out-of-source 'build' directory back to Urho3D project root directory, all the source codes sub-directories are now moved down one level to a new directory under project root called 'Source'.
|
vor 12 Jahren |