Artem Kharytoniuk
8f51dbbc78
Clean up: removed altivec path from dynamic lighting code.
2017-04-29 14:55:34 +03:00
Artem Kharytoniuk
c50a0f4484
Fog.
2017-04-29 14:44:20 +03:00
Artem Kharytoniuk
73e2be0447
Mirrors and portals.
2017-04-28 19:13:24 +03:00
Artem Kharytoniuk
e3f41dd276
Demo project files removal and cleanup.
2017-04-20 12:57:46 +03:00
Artem Kharytoniuk
07f4d33492
Skybox rendering.
2017-04-19 18:44:21 +03:00
Artem Kharytoniuk
ab32f499f8
Fixed r_fastsky and preparation to fix the rest of sky rendering.
2017-04-18 13:40:28 +03:00
Artem Kharytoniuk
eac342cdd9
Store vertex attributes in SOA style: continuous region of vertex buffer per attribute.
...
Removed structures that specified different vertex format.
2017-04-14 19:58:06 +03:00
Artem Kharytoniuk
047be0bd46
Code reorganization and cleanup.
2017-04-14 13:43:04 +03:00
Artem Kharytoniuk
ee7cd1b5f4
Use single function for rendering which handles both single texture and multitexture mode.
2017-04-14 11:08:09 +03:00
Artem Kharytoniuk
e557f6cf82
Reset tess.numVertexes in the end of RB_EndSurface.
...
This gives us more consistent state and avoids potentially unnecessary draw calls due to RB_CheckOverflow.
2017-04-13 11:51:43 +03:00
Artem Kharytoniuk
121afa2231
Create pipelines based on GLS_XXX state.
2017-04-06 17:26:22 +03:00
Artem Kharytoniuk
a45d37355e
Cleanup.
2017-04-05 15:17:16 +03:00
Artem Kharytoniuk
76d4deb58a
Specify shaders directly as arrays of bytes in source code.
...
This allows us to provide all functionality in executable file without providing additional data files.
Added bin2hex utility that does [spirv binary->cpp code] conversion.
Idea is based on vkQuake implementation.
2017-04-05 14:26:15 +03:00
Artem Kharytoniuk
a02cb3ee10
Cleanup: removed r_ignoreFastPath and fast pass code.
...
This optimization is not important nowdays. Also fast pass was disabled by default in original code.
This change simplifies rendering code since now we have only two shader stage processing functions: generic and sky.
2017-04-03 16:54:14 +03:00
Artem Kharytoniuk
258a1ca9cd
Multitexture rendering prototyping.
2017-04-03 14:40:32 +03:00
Artem Kharytoniuk
27038dde48
Cleanup: removed effectively unused textureBundle_t::vertexLightmap variable.
2017-04-03 12:49:48 +03:00
Artem Kharytoniuk
d0700752eb
Quick prototyping of 2d mode rendering (UI).
2017-03-28 22:32:42 +03:00
Artem Kharytoniuk
6cd89f37ac
Working on UI drawing.
2017-03-28 16:50:16 +03:00
Artem Kharytoniuk
fa40b3b8ce
Old features cleanup: GL_ARB_multitexture is not optional anymore, always use qglDrawElements for rendering.
2017-03-20 20:35:48 +02:00
Artem Kharytoniuk
389bbf32c2
Rename: source -> src.
2017-03-17 15:28:25 +02:00