[XCX] Tweak of prev commit

This commit is contained in:
getdls 2018-01-23 23:59:37 +01:00
parent 3eb451a13c
commit 033723d929
2 changed files with 2 additions and 2 deletions

View File

@ -40,7 +40,7 @@ bool predResult = true;
vec3 cubeMapSTM; vec3 cubeMapSTM;
int cubeMapFaceId; int cubeMapFaceId;
R0f = passParameterSem0; R0f = passParameterSem0;
R0f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw)* (0.995 - (lineRand(gl_FragCoord.yx)*0.1)); R0f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw)* (0.995 - (lineRand(gl_FragCoord.yx)*0.075));
//R0f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw); //R0f.xyzw = (texture(textureUnitPS0, R0f.xy).xyzw);
// 0 // 0
backupReg0f = R0f.x; backupReg0f = R0f.x;

View File

@ -109,7 +109,7 @@ void main()
vec2 ps = vec2(1.0) / textureSize(textureUnitPS0, 0); vec2 ps = vec2(1.0) / textureSize(textureUnitPS0, 0);
vec2 uv = coord * ps; vec2 uv = coord * ps;
R4f.xyz = blur(textureUnitPS0, uv, ps).xyz; R4f.xyz = blur(textureUnitPS0, uv, ps*0.5).xyz;
R4f.xyz += (texture(textureUnitPS0, R1f.xy).xyz)/2; R4f.xyz += (texture(textureUnitPS0, R1f.xy).xyz)/2;
R3f.xyz = (texture(textureUnitPS0, R0f.zw).xyz); R3f.xyz = (texture(textureUnitPS0, R0f.zw).xyz);
R2f.xyz = (texture(textureUnitPS0, R2f.xy).xyz);// prob? R2f.xyz = (texture(textureUnitPS0, R2f.xy).xyz);// prob?