Change all the post processing shaders to the new system.
Removes the README.txt file in favour of a new wiki page I'm going to generate.
This commit is contained in:
1 parent
cced3b4a18
commit
32fe37d834
44 files changed
+206
-479
No files matched your search
@@ -1,14 +1,7 @@
|
||||
SAMPLER_BINDING(9) uniform sampler2D samp9;
|
||||
|
||||
out vec4 ocol0;
|
||||
in vec2 uv0;
|
||||
|
||||
uniform vec4 resolution;
|
||||
|
||||
void main()
|
||||
{
|
||||
float4 c0 = texture(samp9, uv0);
|
||||
float4 c1 = texture(samp9, uv0 + float2(5,5)*resolution.zw);
|
||||
float4 c0 = Sample();
|
||||
float4 c1 = SampleOffset(int2(5, 5));
|
||||
|
||||
ocol0 = c0 - c1;
|
||||
SetOutput(c0 - c1);
|
||||
}
|
||||
Reference in new issue
Block a user