A wild blog post appears!
http://blogs.love2d.org/content/beginners-guide-shaders
blogs.love2d.org - The Official LÖVE Blogs!
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: blogs.love2d.org - The Official LÖVE Blogs!
Missing Sentinel Software | Twitter
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
Re: blogs.love2d.org - The Official LÖVE Blogs!
^ Yeah, and it's an excellent introduction to löve shaders, thank you for posting it, Omar! Wherever you are.
-
- Party member
- Posts: 712
- Joined: Fri Jun 22, 2012 4:54 pm
- Contact:
Re: blogs.love2d.org - The Official LÖVE Blogs!
Hi, sorry, I never saw this question.Kingdaro wrote:I read through the post yesterday, and I learned a lot from it! I think I'll be using shaders more from now on.
One thing though, the method described in the post to create outlines does not work on images that have no spacing between the edge and the opaque pixels. An example:
With an image like this, there aren't any transparent areas, and therefore, the derivative between transparent and opaque pixels is 0 throughout the entire image. Is there a good workaround for this, other than just padding the image with transparency?
What you can always do is to take the derivative of the intensity, rather than the alpha (so, for example: col.r + col.g + col.b). In your case, however, this will be difficult: You could make the black parts glow by taking the derivative of 3-(col.r+col.g+col.b), but that would make the black inside the image glow as well.
So, no, I don't think there's a way in your case. You could create a second image and only pad that one with transparency, then make that glow and draw this image over it, if for some reason you need the image to be this exact size. But in this case, it migth be easier to just make the glow in gimp (unles you need it to change color and such, then I'd pad the image with transparency).
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: blogs.love2d.org - The Official LÖVE Blogs!
Can't open the irc because java blocks self-signed applications on my browser.. Anyway, would this be classified as a "high quality" post
-
- Party member
- Posts: 712
- Joined: Fri Jun 22, 2012 4:54 pm
- Contact:
Re: blogs.love2d.org - The Official LÖVE Blogs!
I vote yes!
trAInsported - Write AI to control your trains
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
Bandana (Dev blog) - Platformer featuring an awesome little ninja by Micha and me
GridCars - Our jam entry for LD31
Germanunkol.de
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: blogs.love2d.org - The Official LÖVE Blogs!
Ranguna259 wrote:Can't open the irc because java blocks self-signed applications on my browser.. Anyway, would this be classified as a "high quality" post :P
Sure thing; create an account, and post an application that says something along the lines of, "josefnpat sent me" and we'll get you rollin'.
Missing Sentinel Software | Twitter
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
- Ranguna259
- Party member
- Posts: 911
- Joined: Tue Jun 18, 2013 10:58 pm
- Location: I'm right next to you
Re: blogs.love2d.org - The Official LÖVE Blogs!
Germanunkol and josefnpat, I'll be posting the application then, thank you
- josefnpat
- Inner party member
- Posts: 955
- Joined: Wed Oct 05, 2011 1:36 am
- Location: your basement
- Contact:
Re: blogs.love2d.org - The Official LÖVE Blogs!
Ok, so in retrospect the blogs were way over engineered. I've greatly reduced pretty much all the hoops now.
Anyone who has writer status can now write, edit and delete their own posts without any review.
Go!
Anyone who has writer status can now write, edit and delete their own posts without any review.
Go!
Missing Sentinel Software | Twitter
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
FORCIBLY IGNORED.
<leafo> when in doubt delete all of your code
<bartbes> git rm -r *
<bartbes> git commit -m "Fixed all bugs"
<bartbes> git push
- Sheepolution
- Party member
- Posts: 264
- Joined: Mon Mar 04, 2013 9:31 am
- Location: The Netherlands
- Contact:
Re: blogs.love2d.org - The Official LÖVE Blogs!
Could it be.. a new blog post?!
Why yes! This is a first step in trying to revive the blogs section. Too bad I didn't get a lot more replies on the tweets, but it's a start.
- Sheepolution
- Party member
- Posts: 264
- Joined: Mon Mar 04, 2013 9:31 am
- Location: The Netherlands
- Contact:
Re: blogs.love2d.org - The Official LÖVE Blogs!
So to try get keep the blog active I decided to start interviewing developers.
Starting with rude!
http://blogs.love2d.org/content/l%C3%B6 ... views-rude
Starting with rude!
http://blogs.love2d.org/content/l%C3%B6 ... views-rude
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 6 guests