[library] shine - post processing effects for everyone

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
T-Bone
Inner party member
Posts: 1492
Joined: Thu Jun 09, 2011 9:03 am

Re: [library] shine - post processing effects for everyone

Post by T-Bone »

vrld wrote:
kikito wrote:The demo fails for me in several occasions (I just re-downloaded it again to make sure).
Whoops... should be fixed now.
uhm..
A rain effect would be really neat!

Come to think of it, there was a Löve game here on the forums not too long ago that had a really nice rain effect. I don't think it was shader based though.
User avatar
josefnpat
Inner party member
Posts: 955
Joined: Wed Oct 05, 2011 1:36 am
Location: your basement
Contact:

Re: [library] shine - post processing effects for everyone

Post by josefnpat »

Bumping because this lib is awesome. I offered a pull request for a DMG shader.

https://github.com/josefnpat/shine/comm ... ca48c382c7
Image
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
User avatar
georgeprosser
Citizen
Posts: 68
Joined: Fri Mar 28, 2014 5:55 pm

Re: [library] shine - post processing effects for everyone

Post by georgeprosser »

Only just found this library, so thanks for keeping it up to date. Breeze to use so far.

Only issue I've had is that window resizing can mess up some shaders. My solution was to reinitialize everything in love.resize(), which is not ideal.
maemi
Prole
Posts: 2
Joined: Fri Jun 30, 2017 5:46 am

Re: [library] shine - post processing effects for everyone

Post by maemi »

Hii!! I just wanna to tell that I love Shine!! and I really want to use it, but I'm having issues.
My game needs transformation because the camera has to follow the player, but the things that I want to use the effects from shine are static. They stay in the same location of the map, but when I move the player (and hence the camera) the stuff that is being drawing inside grain:draw is also moving in a way that shouldn't. It's not even following the player, it's like moving in the opposite direction, as if I was applying another translate with opposite parameters. Is that because you use a different canvas in the filmgrain? I never used canvas, so I don't know much about it. Anyway! I have to say thank you for this beautiful library! nice work.
Someone have pointed that he has gotten shine to play well with gamera, but I'm using gamera now and still the same problem.
maemi
Prole
Posts: 2
Joined: Fri Jun 30, 2017 5:46 am

Re: [library] shine - post processing effects for everyone

Post by maemi »

I think I have discovered. At least, how to use this correctly with transformation.Some other people have had problem on this, so maybe you add a note or a example that teaches the proper way to use when you also want to use transformations. You have to call any transformation inside the drawing operation of a shine effect. Maybe it's trivial for more experienced programmers, but it wasn't clear for me at all and surely won't be clear for newbies programmers like me ^^
for example:

Code: Select all

love.graphics.translate(tx, ty)
grain:draw(function()
	something()
end)
this will bug if translate change a lot, but:

Code: Select all

grain:draw(function()
	love.graphics.translate(tx, ty)
	something()
end)
this will be fine if there's no type of transformation outside.
User avatar
Dr. Peeps
Citizen
Posts: 57
Joined: Sat May 28, 2016 12:57 am
Location: British Columbia, Canada

Re: [library] shine - post processing effects for everyone

Post by Dr. Peeps »

Is there a demo for Shine/Moonshine that is compatible with LÖVE 0.10?
User avatar
yetneverdone
Party member
Posts: 448
Joined: Sat Sep 24, 2016 11:20 am
Contact:

Re: [library] shine - post processing effects for everyone

Post by yetneverdone »

Gives me error about the clear function in applied.

ex, boxblur line 55, says a nil value
User avatar
pyxledev
Prole
Posts: 27
Joined: Tue Jul 26, 2022 2:19 pm
Contact:

Re: [library] shine - post processing effects for everyone

Post by pyxledev »

this made my day dude, thx so fricking much
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests