From 9b9bd602cd3dad63fcb46246247bb55f737e78ba Mon Sep 17 00:00:00 2001 From: getdls Date: Sat, 2 Dec 2017 00:33:42 +0100 Subject: [PATCH] [XCX] scale test pt1 Just testing --- Source/XenobladeX/d8e69e8df8c227f5_00000000000003c9_ps.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/XenobladeX/d8e69e8df8c227f5_00000000000003c9_ps.txt b/Source/XenobladeX/d8e69e8df8c227f5_00000000000003c9_ps.txt index c2d5486d..f5b796f7 100644 --- a/Source/XenobladeX/d8e69e8df8c227f5_00000000000003c9_ps.txt +++ b/Source/XenobladeX/d8e69e8df8c227f5_00000000000003c9_ps.txt @@ -20,6 +20,7 @@ layout(location = 0) in vec4 passParameterSem0; layout(location = 0) out vec4 passPixelColor0; uniform vec2 uf_fragCoordScale; const float resScale = ; +const int sampleScale = ; //const float resScale = 3.5; //3.5 looks nicer highp float lineRand(vec2 co) @@ -36,7 +37,7 @@ highp float lineRand(vec2 co) // FabriceNeyret2, single pass gaussian by intermediate MIPmap level. https://www.shadertoy.com/view/ltScRG // I hereby pledge my loyalty to the FabriceNeyret2 fanclub, this is bloody beautiful! -const int samples = 35, //check if must scale to pascal levels +const int samples = 12 * sampleScale, //check if must scale to pascal levels LOD = 2, // gaussian done on MIPmap at scale LOD sLOD = 1 << LOD; // tile size = 2^LOD const float sigma = float(samples) * .25;