Page 1 of 1
How to realize the indistinct effect?
Posted: Mon Nov 10, 2014 10:34 am
by TomChunKit
I know use shader can realize them,but I don't know how to do.Who can help me?
Re: How to realize the indistinct effect?
Posted: Mon Nov 10, 2014 10:45 am
by s-ol
You mean the iridescent effect?
Look up HSV/HSL color and read the LÖVE shader manual.
Re: How to realize the indistinct effect?
Posted: Thu Nov 13, 2014 6:26 pm
by Nixola
Maybe he means blurring?
Re: How to realize the indistinct effect?
Posted: Fri Nov 14, 2014 1:22 pm
by rmcode
You can find a bunch of shaders
here. Just keep in mind that some of them are for older versions of love and might need some manual updating. Other than that you can basically take every GLSL tutorial and recreate it in LÖVE. These are the main differences:
Code: Select all
GLSL Löve shader language
float number
sampler2D Image
uniform extern
texture2D(tex, uv) Texel(tex, uv)