Commit Graph

14690 Commits

Author SHA1 Message Date
hiker
38a1deeff5 Converted more shaders. 2015-05-07 19:18:24 +10:00
hiker
b441dba764 More shaders converted. 2015-05-07 16:40:38 +10:00
hiker
4338fe6144 Migrated more TextureReads to the new shader infrastructure. 2015-05-07 09:54:29 +10:00
hiker
8b9e5acd1a Converted more shaders to use the new template. 2015-05-07 07:41:51 +10:00
hiker
08ea768e16 Moved create*Sampler functions into TextureRead. 2015-05-06 22:33:15 +10:00
hiker
a6b8783d46 Moved bind functions into TextureRead class. 2015-05-06 22:08:03 +10:00
hiker
dfe4f09ed5 Start to re-implement TextureRead without variadic templates for
BindTexture and CreateSampler. VERY MESSY ATM, work in progress.
2015-05-06 16:51:54 +10:00
hiker
0ace0aeb5b Added comments. 2015-05-04 16:51:50 +10:00
hiker
d32a76cd16 Rearranged order of functions in header to have the dependent/recursive
functions closer to each other. Removed unnecessary assignTextureUnit
function (with one argument).
2015-04-29 16:36:48 +10:00
hiker
0b7c03b34c Fixed linux compilation. 2015-04-27 09:40:12 +10:00
hiker
b14acf2a67 Moved TextureRead into a new file, fixed coding style. 2015-04-27 09:03:33 +10:00
hiker
e1ef2aa305 Removed TexUnit data structure. 2015-04-25 18:49:18 +10:00
hiker
45d6c863b3 Moved AssignTextureUnit to new Shader base class. 2015-04-25 00:57:53 +10:00
hiker
118233fb24 Removed now duplicated code. 2015-04-24 14:57:36 +10:00
hiker
865760ffa4 Fixed reloadShader functionality. 2015-04-24 12:36:25 +10:00
hiker
5d098488e6 Use new Shader baseclass for all shaders. 2015-04-24 10:31:37 +10:00
hiker
bbaf061ae9 Added printFileList to Shader, renamed old global function. 2015-04-24 08:38:04 +10:00
hiker
1a96ed6249 Made SimpleParticleRender based on the new shader base class. 2015-04-24 08:26:17 +10:00
hiker
a51225ec36 Added bypassUBO method to new shader base class. 2015-04-23 17:11:19 +10:00
hiker
262fc0c373 Started refactoring of shaders to follow our coding style.
One transform feedback buffer shader in particles is done.
2015-04-23 16:44:26 +10:00
hiker
959c86d816 Merge branch 'use_log_in_tinygettext' 2015-04-20 17:36:08 +10:00
hiker
b6a10b7603 Use stk font to display menu - which is at least a readable size ;)
Hacked the GUI to be a bit easier to scale, but it's still hacky.
Changed default to be what is typically used in stk.
2015-04-20 17:34:51 +10:00
hiker
63406b40f1 Fixed line ending style. 2015-04-17 16:13:57 +10:00
hiker
55079289da List all GSoC students. 2015-04-17 09:48:45 +10:00
hiker
50ff2e6e35 Fixed donations, udpated samuncle's credits. 2015-04-17 09:40:28 +10:00
hiker
513df96c53 Fixed font tool (by requesting an old opengl context), increased size
and added some constants to change the size easier.
2015-04-17 09:24:12 +10:00
hiker
543bb8d303 Updated donations. 2015-04-17 08:29:40 +10:00
hiker
52f77f7d43 Fixed duplicated translator-credits strings. 2015-04-17 08:19:49 +10:00
hiker
fbac4d791c Updated Asian fonts. 2015-04-16 16:59:12 +10:00
hiker
4ea1145af1 Updated translations credits by running update_po_authors.py script. 2015-04-16 15:29:38 +10:00
hiker
00782180f7 Fixed crash when using translation debugging (only happens if
DEBUG_TRANSLATIONS is defined).
2015-04-16 15:28:49 +10:00
hiker
418ccf284e Remove unnecessary \n after "Launchpad Contributions" (which caused
an empty line to be shown in stk); ignore "FIRST AUTHOR" as author.
2015-04-16 15:11:25 +10:00
Marianne Gagnon
4b956ebfce Update translations 2015-04-15 18:45:29 -04:00
hiker
ad2ca0f394 Merge branch 'fix_2073' 2015-04-16 08:17:36 +10:00
hiker
d4c33b294d Fixed compiler warning. 2015-04-16 08:15:20 +10:00
hiker
50acbea315 Fix crash in case of invalid kart types (e.g. 'default', which the
exporter actually writes if 'default' is selected).
2015-04-16 07:56:41 +10:00
hiker
e8b8bbdd3b Added display of normals at the vertices of the triangles the kart is driving on
to the debug display, which is useful to find why interpolated normals are wrong.
2015-04-15 07:44:50 +10:00
hiker
8f090525fb Added more skidding particle debug code. 2015-04-14 16:40:50 +10:00
hiker
fb9d422f9b Made interpolated normals white to make them easier to distinguish. 2015-04-14 16:39:28 +10:00
hiker
ecdf32c01e Fixed size of shader parameter (though de-facto doesn't matter much). 2015-04-14 16:37:54 +10:00
hiker
0627bd85f3 Added some (commented out) debug features for gpu particles. 2015-04-14 16:35:05 +10:00
hiker
2c44bd1201 Removed unnecessary copy, precompue area of triangle to reduce
work when smoothing normals.
2015-04-14 16:21:43 +10:00
hiker
a4264cc063 Visualise the (interpolated) normal at the points where the wheels touch the ground. 2015-04-14 09:33:55 +10:00
Marianne Gagnon
cdde932908 Tentative fix for #2079 2015-04-09 19:58:07 -04:00
Marianne Gagnon
9a905cb579 Merge remote-tracking branch 'Flakebi/bidi-updown' 2015-04-08 20:09:15 -04:00
Flakebi
effe131e4a Dynamically test if text is rtl or not 2015-04-09 01:57:33 +02:00
Flakebi
66dd089902 Move rtl debug option to a more general method 2015-04-09 01:26:55 +02:00
Flakebi
dffd431f3c Add isRTLText function 2015-04-09 01:14:56 +02:00
Deve
a4536d7752 Disable texture compression for mesa. 2015-04-08 22:20:04 +02:00
Marianne Gagnon
66db970564 Add context to help translators 2015-04-07 19:32:55 -04:00