Lasse Öörni
1c5e878832
Check that render targets are supported before allowing auxiliary views.
2011-06-13 06:41:47 +00:00
Lasse Öörni
9c9643508c
Use GL_DEPTH_COMPONENT24 instead of the packed depth stencil for OpenGL deferred rendering depth buffer, because the packed format seems to be slower.
...
Removed light prepass rendering support, as it has implementation difficulties under OpenGL and is often unsatisfactory in performance and specular lighting quality.
Removed the shader subdirectories.
Added option to specify whether single-channel images are to be interpreted as luminance or alpha, when loading into a texture.
2011-06-12 23:38:54 +00:00
Lasse Öörni
ecdcd5b940
Fixed missing depth texture in light prepass rendering.
2011-06-12 18:26:27 +00:00
Lasse Öörni
ea081bf526
Code cleanup. Removed obsolete light shader variations from the variation name list.
...
Clear the destination stencil in OpenGL deferred rendering.
2011-06-12 18:13:47 +00:00
Lasse Öörni
2669231c19
Added OpenGL related documentation.
2011-06-12 15:47:21 +00:00
Lasse Öörni
9335edc5ed
Removed the need to lock vertex data in read-only mode for CPU-side processing.
...
Changed OpenGL immediate mode rendering to use CPU memory vertex arrays.
Fixed GLSL errors.
2011-06-12 14:57:42 +00:00
Lasse Öörni
97238168c7
Simplified the way of immediate geometry updating on OpenGL, which also prevents pipeline stalls (use BufferData instead of locking.)
2011-06-12 09:38:09 +00:00
Lasse Öörni
cfca102c87
Fixed OpenGL slope scaled depth bias.
2011-06-11 08:47:46 +00:00
Lasse Öörni
2290441ea2
Fixed missing depth reconstruction in deferred rendering ambient quad on OpenGL.
2011-06-11 08:38:00 +00:00
Lasse Öörni
5db24c8d02
Renamed OpenGL/Direct3D9 implemntation and shader directories.
2011-06-11 07:39:58 +00:00
Lasse Öörni
483413e472
Fixed the UI not rendering on OpenGL.
2011-06-10 23:04:36 +00:00
Lasse Öörni
c9c0610709
Added alternative OpenGL rendering path, not fully complete yet.
...
Fixed bugs in HashMap / HashSet.
2011-06-10 22:35:43 +00:00
Lasse Öörni
25bd3a257c
Do not use equal depth test.
...
Fixed GetParentPath().
Removed unused vertex color shader code from deferred shaders.
2011-06-10 10:17:35 +00:00
Lasse Öörni
a66b1fc648
Fixed shadow map scissor getting always disabled.
2011-06-07 06:25:08 +00:00
Lasse Öörni
ba48113ccd
Turn scissor test off if scissor larger than the screen.
2011-06-06 20:59:32 +00:00
Lasse Öörni
b7f1eecfd0
Restructured #ifdefs in shaders.
2011-06-05 16:07:50 +00:00
Lasse Öörni
1d036b34ac
Fixed crash in ShaderCompiler.
...
Split Common.hlsl into smaller hlsl include files.
2011-06-05 11:53:39 +00:00
Lasse Öörni
c3d68e849c
Added RemoveShaderParameter to Material.
2011-06-04 12:19:17 +00:00
Lasse Öörni
2bee05deb9
Reordered batch setup.
...
Removed unnecessary public Graphics functions.
Material & view-global shader parameters are stored into a HashMap.
Fixed HashMap bugs.
2011-06-04 09:58:39 +00:00
Lasse Öörni
b011bb9c6d
Removed double copyright notice.
2011-06-04 08:32:57 +00:00
Lasse Öörni
e656bf8fe1
Comment cleanup.
2011-06-03 22:10:16 +00:00
Lasse Öörni
41260f0233
Set global shader parameters when rendering a batch or a full-screen quad; do not set them beforehand.
...
Added ToVector4() to Color.
2011-06-03 22:07:08 +00:00
Lasse Öörni
141d192225
Fixed Camera's InverseWorldTransform(), which should be GetInverseWorldTransform().
2011-06-02 19:43:38 +00:00
Lasse Öörni
5cb3afdbc7
Minor code cleanup.
2011-06-02 13:42:51 +00:00
Lasse Öörni
76144c8c4b
Fixed plural in array variable names.
2011-06-02 12:05:47 +00:00
Lasse Öörni
7a231ed820
Load model data directly into the vertex buffer instead of doing an intermediate copy.
2011-06-02 09:04:44 +00:00
Lasse Öörni
9c6fc5e356
Fixed HashMap index operator.
2011-06-01 06:04:07 +00:00
Lasse Öörni
dca33c3b34
Unified the shader parameter setting API.
2011-05-31 21:29:33 +00:00
Lasse Öörni
887cd80dcb
Removed unnecessary OBJECT macro from ShaderVariation.
2011-05-30 21:18:24 +00:00
Lasse Öörni
d96093e24c
Moved check of needing shader parameter / texture update to Graphics.
2011-05-30 17:40:17 +00:00
Lasse Öörni
7da01092b6
Renamed ShaderProgram to ShaderVariation.
2011-05-29 21:24:35 +00:00
Lasse Öörni
3f1f71dd06
Fixed ResourceCache error messages.
2011-05-29 18:10:03 +00:00
Lasse Öörni
5cc2a32cb8
Fixed comment.
2011-05-29 13:30:41 +00:00
Lasse Öörni
634b5cc81b
Added division by type size for pointer hashes.
...
Fixed HashMap bugs.
Removed HashMap / HashSet range based operations as the list is not ordered.
2011-05-29 13:11:44 +00:00
Lasse Öörni
f899c2f7ca
Fixed bugs in Map.
...
Added HashSet & HashMap classes.
Use HashSet in performance-critical parts of the Renderer library.
2011-05-29 09:42:41 +00:00
Lasse Öörni
977dd11341
Added functions to query most often used texture formats, so that application code does not need to include RendererImpl.h.
2011-05-28 16:02:20 +00:00
Lasse Öörni
fa3fb7b2fc
Added LockedRect structure for textures so that application code does not need to use the corresponding Direct3D structures directly.
...
Fixed comments.
2011-05-28 11:47:37 +00:00
Lasse Öörni
486d4902c8
Simplified window message handling related to activation/inactivation and minimizing the window.
...
Combined Activated & Inactivated events into the Activation event and moved it to GraphicsEvents.
2011-05-26 21:52:18 +00:00
Lasse Öörni
674ffb38a3
Added try-catch for out of memory error.
2011-05-25 13:43:42 +00:00
Lasse Öörni
1911a90504
Fixed Batch.cpp.
2011-05-25 08:41:26 +00:00
Lasse Öörni
4409bc0df0
Moved Color back to the Math library.
2011-05-25 07:19:07 +00:00
Lasse Öörni
5f7b64d6e7
Further cleanup of the Container & Math library API & internal functions.
2011-05-25 07:01:38 +00:00
Lasse Öörni
2025789fa9
Fixed search & replace.
2011-05-24 23:37:16 +00:00
Lasse Öörni
121d451a4e
Renamed eulerAngles property to euler.
2011-05-24 20:22:21 +00:00
Lasse Öörni
2da8d4ae47
Renamed Matrix4x3 to Matrix3x4.
...
Removed superfluous Get...() from the Math library.
2011-05-24 20:20:48 +00:00
Lasse Öörni
ffef9cd27e
Renamed context_ to context in Urho3D.
2011-05-23 20:57:47 +00:00
Lasse Öörni
f64121cd59
Skip the shader comment only at fixed position (beginning) to avoid false positives.
2011-05-23 07:52:30 +00:00
Lasse Öörni
0ab9e7a8df
Fixed bit shift.
2011-05-23 06:51:44 +00:00
Lasse Öörni
b092fe84c7
Do not use shader opcode parameter size yet, as there are some opcodes that don't conform to that format.
2011-05-23 06:51:07 +00:00
Lasse Öörni
27f28faa6f
Take instruction length into account when copying shader bytecode / skipping comments.
2011-05-23 06:06:58 +00:00