Search found 3 matches

by Fractal
Mon Aug 26, 2013 3:31 pm
Forum: Games and Creations
Topic: Your Ludum Dare 27 Entries
Replies: 72
Views: 33123

Re: Your Ludum Dare 27 Entries

Here is mine! http://www.ludumdare.com/compo/ludum-dare-27/?action=preview&uid=19457 It’s called "Five seconds", you start with five seconds left and the aim is to get 10 seconds left by collecting enough clocks and killing enemies (to get more clocks). Let me know what you think (pref...
by Fractal
Sun Sep 02, 2012 10:19 am
Forum: Support and Development
Topic: Shaders: when to use the texture?
Replies: 6
Views: 1861

Re: Shaders: when to use the texture?

I've just started experimenting with shaders. It seems to me that you need handle images, text, and other things a bit differently than stuff like shapes. For example, I wrote this shader which makes everything grey and allows things to flicker through the multiplier: extern number multiplier; vec4...
by Fractal
Wed Aug 29, 2012 6:10 pm
Forum: Support and Development
Topic: Sending an array of vec2 to a pixel effect
Replies: 1
Views: 1746

Sending an array of vec2 to a pixel effect

Hello, First of all, yesterday was the first day I ever touched to shader programming, so perhaps that what I want is not possible. I would like to send an array of (say) 25 vec2 from Lua to a pixel effect. Looking at the löve API for send , there does not seem to be such a function, but the OpenGL ...