Works for me now, on nvidia.
Although, if i move the gaussian blur shader's slider all the way to the left, it errors with "line 4: undefined variable "nanf"
Probably a div by 0 issue
[library] shine - post processing effects for everyone
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: [library] shine - post processing effects for everyone
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: [library] shine - post processing effects for everyone
Nice work!
On the Gaussian blur effect if you move the slider all the way to the left you get the error:
On the Gaussian blur effect if you move the slider all the way to the left you get the error:
I feel like somebody's already let you know about this error, but oh well.Error
Cannot compile pixel shader code:
Line 2: WARNING: Only GLSL version > 110 allows prefix "F" or "f" for float
Line 3: ERROR: 'nanf' : undeclared identifier
Line 3: WARNING: Only GLSL version > 110 allows prefix "F" or "f" for float
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: [library] shine - post processing effects for everyone
I'd really like a bloom shader, I've never gotten it to work myself.
Help us help you: attach a .love.
Re: [library] shine - post processing effects for everyone
Incidentally, I just added a simple bloom effect. I am sure that could be done better (slime...?), but it seems to work.
The updated demo contains a second image where the effect is more visible.
Positive07 also did some efforts to get the shaders to run on android.
After fixing some stuff I got the to run on my phone as well.
There is now also an option to change the grain size in the filmgrain effect.
Any other suggestions/ideas for effects?
I'll try to complete the wiki with information how to write your own effects and how to get them into the repo tomorrow evening.
The updated demo contains a second image where the effect is more visible.
Positive07 also did some efforts to get the shaders to run on android.
After fixing some stuff I got the to run on my phone as well.
There is now also an option to change the grain size in the filmgrain effect.
Any other suggestions/ideas for effects?
I'll try to complete the wiki with information how to write your own effects and how to get them into the repo tomorrow evening.
- kikito
- Inner party member
- Posts: 3153
- Joined: Sat Oct 03, 2009 5:22 pm
- Location: Madrid, Spain
- Contact:
Re: [library] shine - post processing effects for everyone
Hi there,
Congrats on the idea, this looks like a very good initiative.
The demo fails for me in several occasions (I just re-downloaded it again to make sure).
Congrats on the idea, this looks like a very good initiative.
The demo fails for me in several occasions (I just re-downloaded it again to make sure).
- When selecting colorgradesimple, I get "quickie/slider.lua:35: Invalid argument. (from main.lua:156)
- Gaussianblur throws an error if the slider is set to 0: Line 4: ERROR: Use of undeclared identifier 'nan' (from shine/gaussianblur.lua:91: in function 'set')
- A similar error happens when sigma is set to 0 in simpleglow: Line 4: ERROR: Use of undeclared identifier 'nan' (from shine/simpleglow.lua:104: in function 'set')
Too many.vrld wrote:Any other suggestions/ideas for effects?
When I write def I mean function.
Re: [library] shine - post processing effects for everyone
Whoops... should be fixed now.kikito wrote:The demo fails for me in several occasions (I just re-downloaded it again to make sure).
uhm..kikito wrote:water/rain in the camera
Re: [library] shine - post processing effects for everyone
I'd love to see a dilate and an erode shadervrld wrote: Any other suggestions/ideas for effects?
Really like the effects in this video:
- zorg
- Party member
- Posts: 3468
- Joined: Thu Dec 13, 2012 2:55 pm
- Location: Absurdistan, Hungary
- Contact:
Re: [library] shine - post processing effects for everyone
A new error! Again when setting gaussian blur's variable to 0.
shine/gaussianblur.lua:75: Variable 'direction' does not exist.
A common error is to define but not use the variable.
Also same error with glowsimple, on glowsimple.lua:87
shine/gaussianblur.lua:75: Variable 'direction' does not exist.
A common error is to define but not use the variable.
Also same error with glowsimple, on glowsimple.lua:87
Me and my stuff True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Re: [library] shine - post processing effects for everyone
Awesome work, vrid! Very cool.
- dizzykiwi3
- Citizen
- Posts: 58
- Joined: Tue Jan 14, 2014 2:03 am
Re: [library] shine - post processing effects for everyone
This is AMAZING.
Do you know if it works with cameras and scissors? I seem to be having troubles with it, and I'm not sure if its because of my misuse of it or incompatibility with those.
Do you know if it works with cameras and scissors? I seem to be having troubles with it, and I'm not sure if its because of my misuse of it or incompatibility with those.
Who is online
Users browsing this forum: No registered users and 4 guests