Commit Graph

14740 Commits

Author SHA1 Message Date
hiker
e94c3e5d3f Removed unused global variables. 2015-05-19 16:11:54 +10:00
hiker
6d8d78be73 Moved more shaders, moved createVAO into Shader. 2015-05-19 16:07:24 +10:00
hiker
2224f4ebfa Removed unused shader. 2015-05-19 09:39:04 +10:00
hiker
283a7c58b9 Moved more shaders. 2015-05-19 09:36:28 +10:00
hiker
b40f84e89d Moved more shaders. 2015-05-19 09:20:29 +10:00
hiker
8e4ee298e0 Moved shaders into render_lighting, fixed coding style for
render_lighting.
2015-05-18 21:33:26 +10:00
hiker
6def0c752c Moved more shaders. 2015-05-18 16:52:42 +10:00
hiker
90d7fac6c4 Fixed coding style. 2015-05-18 16:43:30 +10:00
hiker
78220d5ed7 Moved more shaders. 2015-05-18 08:49:41 +10:00
hiker
3cb0c6f4c2 Fixed coding style in stkmesh. 2015-05-18 08:22:52 +10:00
hiker
37d787ff38 Fixed linux compilation. 2015-05-17 10:28:37 +10:00
hiker
a50d11df36 Try a different linux fix. 2015-05-17 10:04:01 +10:00
hiker
f0f230b042 Try to fix linux compilation. 2015-05-17 00:56:42 +10:00
hiker
1a09a09dd9 Removed now unnecessary parameter for assignSamplerNames. 2015-05-17 00:22:14 +10:00
hiker
e0ef910137 Renamed TextureRead to TextureShader. 2015-05-17 00:04:19 +10:00
hiker
329a4ac047 Removed multiple inheritance, instead made TextureRead inherit from
Shader. work in progress!
2015-05-16 10:39:33 +10:00
hiker
dc211f2000 Improved coding style. 2015-05-15 08:16:23 +10:00
hiker
488f506932 Moved more shaders into PostProcessing. 2015-05-14 16:43:32 +10:00
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