Search found 5 matches
- Sat Feb 08, 2014 2:32 pm
- Forum: General
- Topic: Is it possible to disable the shading language?
- Replies: 2
- Views: 2711
Re: Is it possible to disable the shading language?
@vrld, thanks. I'll look into that. The main reason I didn't want to use the built in shading language is because I found it hard to do separate passes for a shader without doing a lot of work with drawing to separate canvases. Also, I think it'll be a little easier to not have to translate shader e...
- Fri Feb 07, 2014 9:32 pm
- Forum: General
- Topic: Is it possible to disable the shading language?
- Replies: 2
- Views: 2711
Is it possible to disable the shading language?
I was wondering if it was possible to use the GLSL lanaguage instead of the built in shading language for shaders. Is there something in the source code I could change? Is there an option to change when building? Or is it even possible for love to send the image to a separate program where the shade...
- Tue Jan 14, 2014 11:02 pm
- Forum: General
- Topic: Trying to make a blur shader, but having issues.
- Replies: 6
- Views: 5807
Re: Trying to make a blur shader, but having issues.
Germanunkol, great, that works. Thank you, I'll have a look through it.
- Tue Jan 14, 2014 6:07 pm
- Forum: General
- Topic: Trying to make a blur shader, but having issues.
- Replies: 6
- Views: 5807
Re: Trying to make a blur shader, but having issues.
Germanunkol, thanks for the info I didn't understand the whole weight thing before. I don't think the example works correctly. It only blurs vertically. vrld, what do you mean by normalize by .0025? I tried multiplying by .025 instead of .1 (.0025 doesn't show anything): final += Texel(tex, texcoord...
- Sat Jan 11, 2014 4:40 pm
- Forum: General
- Topic: Trying to make a blur shader, but having issues.
- Replies: 6
- Views: 5807
Trying to make a blur shader, but having issues.
I'm trying to write a blur shader (and eventually to make it a bloom shader), but the resulting blur is really lumpy: https://love2d.org/imgmirrur/YCT15Tu.png Here's the code in it's current state: int samples = 10; int sampledist = 1; float rt_h = 720; // render target height float rt_w = 1280; // ...