First commit desu
This commit is contained in:
commit
6834797f09
20 changed files with 1618 additions and 0 deletions
11
shaders/glsl/mfx_bss_shift.fp
Normal file
11
shaders/glsl/mfx_bss_shift.fp
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
void main()
|
||||
{
|
||||
vec2 coord = TexCoord;
|
||||
vec4 res = texture(InputTexture,coord);
|
||||
vec2 bresl = textureSize(InputTexture,0);
|
||||
vec2 bof = (1.0/bresl)*bssshiftradius;
|
||||
res.g = texture(InputTexture,coord).g;
|
||||
res.r = texture(InputTexture,coord+vec2(0,-bof.y)).r;
|
||||
res.b = texture(InputTexture,coord+vec2(0,bof.y)).b;
|
||||
FragColor = res;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue