Commit Graph

14722 Commits

Author SHA1 Message Date
hiker
f0d0e7e601 Moved SharedObjects into separate file shared_gpu_object.
This also fixes the missing loading screen (likely caused by
not initialising all objects, or not in the right order).
2015-05-14 16:27:32 +10:00
hiker
3b682ff084 Moved more shaders into PostProcessing. 2015-05-13 09:57:53 +10:00
hiker
56bc14ff31 Moved more shaders into PostProcessing. 2015-05-13 08:55:59 +10:00
hiker
ea69eb3178 Minor style changes. 2015-05-13 08:22:58 +10:00
hiker
26d63ce844 Fixed linux compilation, and some more coding style issues. 2015-05-13 08:14:39 +10:00
hiker
827b9adce2 Moved more shaders into 2dutils. 2015-05-12 16:48:12 +10:00
hiker
320dd6d1df Moved more shaders into 2dutils. 2015-05-12 16:43:03 +10:00
hiker
fbad97a4a7 Moved Primitive2DList into 2dutils, fixed coding style of 2dutils. 2015-05-12 16:24:40 +10:00
hiker
ee26611759 Moved billboard shader into stkbillboard, cleaned up coding style somewhat. 2015-05-12 10:01:24 +10:00
hiker
f4cf41e466 Moved more shaders into render_gemoetry. 2015-05-12 09:50:18 +10:00
hiker
ac3984b403 Fixed linux compilation. 2015-05-11 21:08:52 +10:00
hiker
e337b72789 Moved *Detailed* shader into render_geometry, renamed all detailled
to detailed.
2015-05-11 17:17:08 +10:00
hiker
77bfa84609 Moved more render-geometry specific shader into render geometry. 2015-05-11 17:07:31 +10:00
hiker
f3f30a8057 Moved GrassPass1Shader into render_geometry; fixed up coding style
somewhat.
2015-05-11 09:14:43 +10:00
hiker
400f9c612b Moved SpecularIBLGenerator-shader into IBL.cpp, and ColoredLine
shader into Shaders. Fixed codying style of IBL somewhat.
2015-05-11 08:09:09 +10:00
hiker
93f24f2a74 Removed Shaders instance out of irr-driver, and use a class
with static members instead.
2015-05-08 23:46:52 +10:00
hiker
824b6906c1 Fixed compiler warning. 2015-05-08 13:59:19 +10:00
hiker
7453853c6d Fixed linux build. 2015-05-08 13:45:43 +10:00
hiker
ba957ca0dc Merge branch 'refactor_shaders' of github.com:supertuxkart/stk-code into refactor_shaders 2015-05-08 13:21:54 +10:00
hiker
3607cadf62 Merge branch 'origin/refactor_shaders' into refactor_shaders 2015-05-08 13:21:13 +10:00
hiker
310a58541d Cleanup, part 1 - shaders_util is gone :) 2015-05-08 13:21:08 +10:00
hiker
a16bbf71a4 Converted remaining shaders. 2015-05-08 08:30:51 +10:00
hiker
5070531ad7 Converted more shaders. 2015-05-08 08:02:56 +10:00
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
auriamg
f97db81ce3 Merge pull request #2103 from nado/fix_NoFribidi_compilation
Fix compilation with -DUSE_FRIBIDI=0
2015-04-24 21:07:12 -04:00
auriamg
e769f995ec Merge pull request #2104 from nado/fix_#2102
Fix #2102.
2015-04-24 21:06:43 -04:00
auriamg
a4559fc09d Merge pull request #2107 from Flakebi/fribidi
Mark text as RTL when at least one character is RTL
2015-04-24 21:04:46 -04:00
Marianne Gagnon
fc942433e2 Tweak over previous commit 2015-04-24 20:17:55 -04:00
Marianne Gagnon
30431adc69 Add forgotten credit to Divvy81 2015-04-24 20:17:22 -04: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
Flakebi
819156106d Mark text as RTL when at least one character is RTL 2015-04-24 03:45:05 +02:00
hiker
5d098488e6 Use new Shader baseclass for all shaders. 2015-04-24 10:31:37 +10:00
Marianne Gagnon
1cc3a0f0b8 Tweak times of scotland challenge 2015-04-23 19:20:42 -04: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
Nado
1a395efbfd
Fix #2102.
Moving output modifier and early exit options (--help, --version,
--log, etc) earlier in the execution so nothing useless is printed.
2015-04-23 20:13:37 +02:00
Nado
76270ce0ec Fix compilation with -DUSE_FRIBIDI=0 2015-04-23 19:55:12 +02:00