add resolution uniform for pp, 16bit uses this for reducing screen resolution (wtf?)

This commit is contained in:
degasus committed 2013-03-07 17:35:27 +01:00
1 parent 12e84f918a
commit 1c125f0fb4
3 files changed
+68 -105

No files matched your search

+7 -4
View File
@@ -1,11 +1,14 @@
//dummy shader:
uniform samplerRECT samp0 : register(s0);
uniform sampler2D samp9;
void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0)
out vec4 ocol0;
in vec2 uv0;
void main()
{
float4 c0 = texRECT(samp0, uv0).rgba;
ocol0 = float4(c0.r, c0.g, c0.b, c0.a);
ocol0 = texture(samp9, uv0);
}
/*
And now that's over with, the contents of this readme file!
For best results, turn Wordwrap formatting on...