Search found 15 matches

by padicao2010
Wed Oct 28, 2015 8:23 am
Forum: Support and Development
Topic: How to use love.video-first-stream
Replies: 0
Views: 895

How to use love.video-first-stream

I found love.video-first-stream at http://lovenightly.bartbes.com/, here the source codes https://bitbucket.org/bartbes/love-expe ... rst-stream.
It seems only working in Linux.
No doc sadly.
So ask for help.
by padicao2010
Wed Oct 14, 2015 3:21 pm
Forum: General
Topic: To canvas then to screen, why change?. See #5.
Replies: 4
Views: 3268

Re: What the shader is like when it does nothing?

I do a test, remove the shader. It seems that CASE 1: local raw = love.graphics.newCanvas() local r, g, b, a = love.graphics.getColor() love.graphics.setCanvas(raw) DRAW SOMETHING love.graphics.setColor(r, g, b, a) love.graphics.setCanvas(nil) love.graphics.draw(raw, 0, 0) is not the the same with C...
by padicao2010
Tue Oct 13, 2015 2:32 am
Forum: General
Topic: To canvas then to screen, why change?. See #5.
Replies: 4
Views: 3268

Re: What the shader is like when it does nothing?

i am not quite follow you, but draw things to a canvas with shader, you can deal with canvas more easily. oh, your code vec4 effect(vec4 color, Image texture, vec2 tc, vec2 _) { return Texel(texture, tc) * color; //just return the "color" is what you want... // Texel(texture, tc)==color i...
by padicao2010
Mon Oct 12, 2015 4:21 pm
Forum: General
Topic: To canvas then to screen, why change?. See #5.
Replies: 4
Views: 3268

To canvas then to screen, why change?. See #5.

I use shader to implement an animation, by changing shader parameters. When the animation ends, the shader is set to vec4 effect(vec4 color, Image texture, vec2 tc, vec2 _) { return Texel(texture, tc) * color; } And then I remove the shader, it change a lot. I'm so new at shader. My question is how ...
by padicao2010
Wed Jan 15, 2014 8:43 am
Forum: LÖVE-Android
Topic: love-android-sdl2 (native, 0.9.2)
Replies: 324
Views: 412071

Re: love-android-sdl2 (native, 0.9.0)

awesome, it works well

and, how can I activate the virtual keyboard?