65 Commits

Author SHA1 Message Date
Themaister
97f937ec6d Use floating point values for uniforms from Python. 2011-10-26 10:26:09 +02:00
Themaister
d01a4fe61b Only load second pass shaders when render-to-texture is set. 2011-09-26 22:45:28 +02:00
Themaister
924848fdad Start working towards SDL 1.2/1.3 compat. 2011-09-13 14:06:49 +02:00
Themaister
600efab1bd Consistently use BGRA for possible performance gains. 2011-08-29 17:19:38 +02:00
Themaister
508cfdbda7 Start implementing access to previous texture. 2011-07-03 15:39:35 +02:00
Themaister
26ac00ad76 Fix incompatible type. 2011-06-29 03:26:21 +02:00
Themaister
99e85684db Input capturing semantic. 2011-06-11 20:02:17 +02:00
Themaister
fd70a1c875 Make sure we only call semantics once per frame. 2011-06-08 17:59:29 +02:00
Themaister
f339560550 Put all scripts in <script> 2011-06-07 16:28:58 +02:00
Themaister
11b58d8c69 Clean up error handling a bit. 2011-06-07 15:58:30 +02:00
Themaister
3717f7442c Inline XML python. 2011-06-07 15:33:29 +02:00
Themaister
e02d9f41e8 Transition count semantic. 2011-06-06 21:32:10 +02:00
Themaister
4d96fbba6a Python works :P 2011-06-06 18:50:36 +02:00
Themaister
5bc9ca216e Clean up shader compilation slightly. 2011-06-02 13:49:22 +02:00
Themaister
838a85a719 Could make coordinate flipping consistent ... Finally. 2011-06-01 12:19:48 +02:00
Themaister
44c52ca4f8 Add -pedantic for shits 'n giggles.
Fix portability issues with void* -> void (*)(void) casts.
Use a more ... bizarre technique ;)
2011-05-31 15:03:59 +02:00
Themaister
7bbaa6ee31 Add pixel size uniform. 2011-05-30 14:32:31 +02:00
Themaister
02344f9048 Bitmasking. 2011-05-29 23:58:04 +02:00
Themaister
200d2b598b Slight cleanup. 2011-05-28 15:06:46 +02:00
Themaister
aec44b093e Add new transition_previous. 2011-05-26 16:23:11 +02:00
Themaister
b0d1a98cd1 Fix when too many variables are used. 2011-05-25 20:55:38 +02:00
Themaister
94ff67ee15 Stuff seems to work :) 2011-05-25 17:31:07 +02:00
Themaister
8d2a7e4593 More work on state monitor ... compiles. 2011-05-25 15:58:12 +02:00
Themaister
f4af518fb4 Yay ... <_< 2011-05-23 20:08:16 +02:00
Themaister
eebe0ae5d0 Getting there ... But passN textures aren't set properly ;x 2011-05-23 19:57:52 +02:00
Themaister
f9c5c7c8a5 Path to check initial texture with GLSL. 2011-05-23 17:43:29 +02:00
Themaister
2f858b7948 Clean up ugly inline stuff. :\ 2011-05-18 22:40:42 +02:00
Themaister
36d9adbc0f *Shrug* windows. Works at least ... :D 2011-05-18 22:11:34 +02:00
Themaister
9473b392df TGA loader (nolib). 2011-05-18 21:49:23 +02:00
Themaister
8a0ccc99df Make sure we don't load too many pictures. 2011-05-18 20:27:27 +02:00
Themaister
c938f3d8de Add lookup texture support. :D yay. 2011-05-18 20:22:27 +02:00
Themaister
59c6de69b0 Frame counter for shaders. Not in spec currently. 2011-05-11 13:24:59 +02:00
Themaister
006948b973 Warmup for 0.4-beta. Some FBO stuff is still borked. 2011-03-30 11:05:56 +02:00
Themaister
e5196026a1 Add more precise error messages. 2011-03-30 00:10:16 +02:00
Themaister
66d18e4ad7 Adhere more closely to XML shader specs. 2011-03-29 23:45:10 +02:00
Themaister
f730ba4043 Oh yeah :) Can toggle shader in run-time! 2011-03-29 18:59:06 +02:00
Themaister
c1b8cdb35b Fix issue with size attribute first. 2011-03-27 21:34:33 +02:00
Themaister
936b7f5395 Seems to work now. 2011-03-27 21:21:46 +02:00
Themaister
29808c4421 Start on outscale/size support. 2011-03-27 20:29:47 +02:00
Themaister
3fa037daee Fix minor issues. 2011-03-16 21:48:44 +01:00
Themaister
898c4e8c6c Works quite decently now. :) 2011-03-14 23:59:31 +01:00
Themaister
56ac7b4649 Something's working :D 2011-03-14 23:48:19 +01:00
Themaister
e2daab9ce9 Fetch some scale values (this is not in the standard (yet!)) 2011-03-14 22:51:03 +01:00
Themaister
ef19ea7a85 Add fbo structures, ready to implement. :v 2011-03-14 22:09:35 +01:00
Themaister
01cf24f15f Add filter attributes. 2011-03-14 21:28:30 +01:00
Themaister
1ee7162784 It's not copypasta anymore :D 2011-03-12 17:01:57 +01:00
Themaister
4949a131f8 Multi-passing in XML should work. 2011-03-12 16:33:01 +01:00
Themaister
8b241c3deb Preparation for new XML shader specs. 2011-03-12 15:30:57 +01:00
Themaister
b541c27226 FBO seems to work! :D 2011-03-06 19:56:35 +01:00
Themaister
b07827a856 Should fix GLSL issue on OSX. 2011-02-22 23:53:01 +01:00