Christoph Oelckers
|
8cf53f04e8
|
- split off the vertex creation from RenderWall.
|
2016-08-25 22:54:08 +02:00 |
|
Christoph Oelckers
|
4ab8ca63ce
|
- use more desctiptive names for the predefined vertex buffer indices.
|
2016-08-25 22:23:31 +02:00 |
|
alexey.lysiuk
|
52b51e79b9
|
Fixed missing decals in compatibility renderer
The problem was appeared in conjunction with dynamic lights only
See http://forum.zdoom.org/viewtopic.php?f=4&t=19321&start=405#p932733
|
2016-08-24 10:27:14 +03:00 |
|
alexey.lysiuk
|
a185886924
|
Added compatibility handling for fog and dynamic lights used together
See http://forum.drdteam.org/viewtopic.php?t=7063
|
2016-08-24 10:26:11 +03:00 |
|
Magnus Norddahl
|
25645d901e
|
Add Palette LUT tonemap mode
|
2016-08-23 09:18:18 +02:00 |
|
Christoph Oelckers
|
9555617816
|
- fixed: The default for position.w is 1, so gl_quaddrawer.cpp needs to set this, too, for the uniform vertex positions.
|
2016-08-22 22:02:02 +02:00 |
|
Christoph Oelckers
|
b946114145
|
- removed unused variable.
|
2016-08-22 22:00:45 +02:00 |
|
Magnus Norddahl
|
1594cc9570
|
Only use KHR_debug if available
|
2016-08-22 19:25:13 +02:00 |
|
Christoph Oelckers
|
250be72939
|
- added handling for drawing with uniform vertices. It draws something but in the wrong place. Right now I have no idea what's happening...
|
2016-08-22 15:31:23 +02:00 |
|
Christoph Oelckers
|
7ba5acfb35
|
- added quad drawer interface so that this part can be done without altering a vertex buffer.
So far it's only the framework, the new code is not active yet.
|
2016-08-22 14:00:25 +02:00 |
|
Magnus Norddahl
|
302f59ea33
|
Fix r_clearbuffer color not being used
|
2016-08-22 01:52:51 +02:00 |
|
alexey.lysiuk
|
3e01039bbb
|
Fixed missing #include for GCC/Clang
|
2016-08-21 15:47:56 +03:00 |
|
Christoph Oelckers
|
dde81b33ea
|
- glEnable(GL_TEXTURE_2D) only makes sense if no shaders are being used.
|
2016-08-21 08:45:21 +02:00 |
|
Christoph Oelckers
|
97ff4cc025
|
Merge branch 'debug' of https://github.com/dpjudas/zdoom
|
2016-08-20 12:34:56 +02:00 |
|
Magnus Norddahl
|
f63635e07a
|
Fix RFL_INVALIDATE_BUFFER check being inverted
|
2016-08-19 01:11:11 +02:00 |
|
Christoph Oelckers
|
eadc2f35dd
|
- fixed: The crossfade wipe must use its own alpha for the second layer, not the one from the vertex buffer.
|
2016-08-19 00:21:17 +02:00 |
|
Magnus Norddahl
|
e8fc935f04
|
Another IsFilteredByDebugLevel typo..
|
2016-08-18 02:24:57 +02:00 |
|
Magnus Norddahl
|
4241026f1c
|
Swapped order in IsFilteredByDebugLevel
|
2016-08-18 02:21:53 +02:00 |
|
Magnus Norddahl
|
f75b6d8c5d
|
Improve debug level filtering
|
2016-08-18 02:10:54 +02:00 |
|
Magnus Norddahl
|
b21b65eb43
|
Rearrange binding of texture and sampler to get rid of texture state usage warning
|
2016-08-18 01:32:41 +02:00 |
|
Magnus Norddahl
|
01f9a2d27a
|
Fix clear warning
|
2016-08-18 00:21:33 +02:00 |
|
Magnus Norddahl
|
18ff65fb0e
|
Filter logging to only display each message once
|
2016-08-17 23:52:20 +02:00 |
|
Magnus Norddahl
|
d380d765c9
|
OpenGL object labels and debug groups
|
2016-08-17 23:18:47 +02:00 |
|
Magnus Norddahl
|
2825bd4967
|
Fix invalid value error
|
2016-08-17 21:25:31 +02:00 |
|
Magnus Norddahl
|
a37225b81e
|
Don't debug break on notifications
|
2016-08-17 21:25:03 +02:00 |
|
Magnus Norddahl
|
2cb5f1740e
|
Add OpenGL debug messages to the console
|
2016-08-17 20:33:10 +02:00 |
|
Magnus Norddahl
|
fc01a6b832
|
Only query for GL_MAX_SAMPLES once
|
2016-08-17 17:59:47 +02:00 |
|
Magnus Norddahl
|
3c08f5ae48
|
Fix multisample count bug
|
2016-08-17 17:37:49 +02:00 |
|
Magnus Norddahl
|
5eeac830eb
|
Clear and InvalidateFramebuffer optimization
|
2016-08-17 17:37:13 +02:00 |
|
Magnus Norddahl
|
fa2bcebd51
|
Add KHR_debug and ARB_invalidate_subdata
|
2016-08-17 16:48:11 +02:00 |
|
Magnus Norddahl
|
a8d1197ea7
|
Make sure we never pass a negative value to pow, and optimize gamma uniform
|
2016-08-16 00:01:18 +02:00 |
|
Magnus Norddahl
|
a03b2ff48b
|
Change render buffers from RGBA16F to RGBA16
|
2016-08-15 23:51:49 +02:00 |
|
Christoph Oelckers
|
ac80ffcc00
|
- fixed scissor calculations in 2D drawer.
|
2016-08-15 08:53:49 +02:00 |
|
Christoph Oelckers
|
e03696a6c9
|
- fixed: The model matrix must be disabled right after rendering the sky dome, so that it won't get used for the skyfog layer.
|
2016-08-14 20:11:46 +02:00 |
|
Christoph Oelckers
|
4e8a96aa0e
|
- removed FRenderState::set2DMode because it had no effect. This looks like development garbage from old times.
|
2016-08-14 09:14:26 +02:00 |
|
Magnus Norddahl
|
f8cc56ea3a
|
Move SetOutputViewport to OpenGLFrameBuffer::Update as it cannot be safely called from Begin2D
|
2016-08-14 09:05:54 +02:00 |
|
Magnus Norddahl
|
fd4422eb62
|
Restore bound texture when FGLRenderBuffers::Setup finishes
|
2016-08-14 09:05:53 +02:00 |
|
Magnus Norddahl
|
94b72d25e9
|
First render may not have known scene dimensions
|
2016-08-14 09:05:52 +02:00 |
|
Magnus Norddahl
|
af62352860
|
Fix uninitialized data in render buffers at creation
|
2016-08-14 09:05:52 +02:00 |
|
Magnus Norddahl
|
847d2e8862
|
Fix viewport not being updated when resizing window when no scene is active
|
2016-08-14 09:05:51 +02:00 |
|
Magnus Norddahl
|
647ef5d029
|
Fix blur shader to use RenderScreenQuad
|
2016-08-14 09:05:50 +02:00 |
|
Magnus Norddahl
|
210fce1193
|
Fix bloom shader missing its target
|
2016-08-14 09:05:50 +02:00 |
|
Magnus Norddahl
|
4ecb77385d
|
GetScreenshotBuffer bug fix
|
2016-08-14 09:05:49 +02:00 |
|
Magnus Norddahl
|
d5b122b092
|
Fix GetScreenshotBuffer grabbing from wrong location
|
2016-08-14 09:05:48 +02:00 |
|
Magnus Norddahl
|
c817979eae
|
Remove GetTrueHeight from GL renderer and concentrate all viewport calculations in SetOutputViewport
|
2016-08-14 09:05:48 +02:00 |
|
Christoph Oelckers
|
353a464f5b
|
- fixed: The 2D texture drawer did not reset the render state's color so any previously set desaturation would persist.
|
2016-08-13 22:15:00 +02:00 |
|
Christoph Oelckers
|
0fdd80eae7
|
- removed debug Printf.
|
2016-08-10 16:32:31 +02:00 |
|
Christoph Oelckers
|
0e5a3ebe50
|
- fixed bad function call in vertex buffer init code.
|
2016-08-10 00:35:42 +02:00 |
|
Christoph Oelckers
|
56a60ebe85
|
- restored a line that got accidentally deleted.
|
2016-08-08 20:47:54 +02:00 |
|
Christoph Oelckers
|
e5f88a9883
|
- fixed: The textured automap was not using correct light levels.
In order for the externally passed vertex attribute to work the buffer's color attrib array needs to be disabled for these.
|
2016-08-08 16:18:07 +02:00 |
|