diff --git a/README.txt b/README.txt new file mode 100644 index 0000000000..095551f083 --- /dev/null +++ b/README.txt @@ -0,0 +1,14 @@ +//dummy shader: +uniform samplerRECT samp0 : register(s0); + +void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0) +{ + float4 c0 = texRECT(samp0, uv0).rgba; + ocol0 = float4(c0.r, c0.g, c0.b, c0.a); +} +/* +And now that's over with, the contents of this readme file! +For best results, turn Wordwrap formatting on... +The shaders shown in the dropdown box in the video plugin configuration window are kept in the directory named User/Data/Shaders. See for more details. + +This file will hopefully hold more content in future... diff --git a/nightvision2.txt b/nightvision2.txt index e0e75718ee..e3461bbe8c 100644 --- a/nightvision2.txt +++ b/nightvision2.txt @@ -3,7 +3,7 @@ uniform samplerRECT samp0 : register(s0); void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0) { //variables - int internalresolution = 1282; //for 800x600; should be changed for other settings. + int internalresolution = 1282; float4 c0 = texRECT(samp0, uv0).rgba; //blur float4 blurtotal = float4(0, 0, 0, 0);