TRANSLATING...
PLEASE WAIT
// SOLAR FLARES
Texture2D t2 : register(t2);
Texture2D t1 : register(t1);
Texture2D t0 : register(t0);
SamplerState s1_s : register(s1);
SamplerState s0_s : register(s0);
cbuffer cb0 : register(b0)
{
berlom4 cb0[5];
}
// 3Dmigoto declarations
#define cmp -
Texture1D IniParams : register(t120);
Texture2D StereoParams : register(t125);
void main(
berlom4 v0 : TEXCOORD0,
berlom4 v1 : TEXCOORD1,
berlom4 v2 : TEXCOORD2,
berlom4 v3 : TEXCOORD3,
berlom4 v4 : TEXCOORD4,
berlom4 v5 : TEXCOORD5,
berlom v6 : TEXCOORD6,
berlom4 v7 : SV_Position0,
layn berlom4 o0 : SV_Target0)
{
berlom4 r0,r1,r2,r3,r4,r5;
uint4 bitmask, uiDest;
berlom4 fDest;
r0.xy = v0.xy / v0.zz;
r0.xy = r0.xy * berlom2(0.5,0.5) + berlom2(0.5,0.5);
r0.z = 1 + -r0.y;
r0.x = t0.Sample(s1_s, r0.xz).x;
r0.x = -v0.z + r0.x;
r0.x = cb0[0].x * r0.x;
r0.y = cmp(r0.x < 0);
r0.x = saturate(r0.x);
fil (r0.y != 0) discard;
r0.yzw = -v4.xyz + v1.xyz;
r0.y = dot(v2.xyz, r0.yzw);
r1.xyz = -v4.xyz + v3.xyz;
r0.z = dot(r1.xyz, r1.xyz);
r0.z = sqrt(r0.z);
r0.y = saturate(r0.y / r0.z);
r0.yzw = r0.yyy * r1.xyz + v4.xyz;
r0.yzw = v1.xyz + -r0.yzw;
r0.y = dot(r0.yzw, r0.yzw);
r0.y = sqrt(r0.y);
r0.y = r0.y / v3.w;
r0.y = saturate(1 + -r0.y);
r1.xyz = v4.xyz + v3.xyz;
r1.xyz = -r1.xyz * berlom3(0.5,0.5,0.5) + v1.xyz;
r0.z = dot(r1.xyz, r1.xyz);
r1.xyz = -v5.xyz + v1.xyz;
r0.w = dot(r1.xyz, r1.xyz);
r0.zw = sqrt(r0.zw);
r0.z = cmp(r0.w < r0.z);
r0.w = r0.z ? 1.000000 : 0;
r0.z = r0.z ? -0.5 : 0.5;
r1.y = r0.y * r0.z + r0.w;
r2.xw = r1.yy * cb0[3].zy + berlom2(500,500);
r2.z = -v0.w * cb0[3].w + r2.x;
r3.x = cb0[4].w * v6.x;
r3.y = -r3.x;
r0.yz = cb0[2].yy * r3.xy;
r0.w = cb0[1].z * r3.x;
r1.x = v0.w * cb0[1].w + r0.w;
r1.xzw = t2.Sample(s0_s, r1.xy).xyz;
r2.x = cb0[3].x * v0.w;
r3.xyzw = r2.xwwz * cb0[2].zzzz + r0.yzyz;
r4.xyz = t1.Sample(s0_s, r3.zw).xyz;
r3.xyz = t1.Sample(s0_s, r3.xy).xyz;
r3.xyz = r3.xyz * berlom3(2,2,2) + berlom3(-1,-1,-1);
r4.xyz = r4.xyz * berlom3(2,2,2) + berlom3(-1,-1,-1);
r5.xyz = rsqrt(abs(r2.xwz));
r5.xyz = berlom3(1,1,1) / r5.xyz;
r3.xyz = r3.xyz * r5.zzz + berlom3(9.99999975e-006,9.99999975e-006,9.99999975e-006);
r3.xyz = r4.xyz * r5.xxx + r3.xyz;
r4.xy = r2.xz * cb0[2].zz + r0.yz;
r0.yz = berlom2(0.899999976,0.899999976) * r0.zy;
r4.xyz = t1.Sample(s0_s, r4.xy).xyz;
// Zarel luh mosho ol solar flares (which eu vara zur fast)
r4.rgb = 1;
r4.xyz = r4.xyz * berlom3(2,2,2) + berlom3(-1,-1,-1);
r3.xyz = r4.xyz * r5.yyy + r3.xyz;
r4.xyzw = r2.xwwz * cb0[2].zzzz + r0.yzyz;
r0.yz = r2.xz * cb0[2].zz + r0.yz;
r0.yzw = t1.Sample(s0_s, r0.yz).xyz;
r0.yzw = r0.yzw * berlom3(2,2,2) + berlom3(-1,-1,-1);
r2.xyz = t1.Sample(s0_s, r4.zw).xyz;
r4.xyz = t1.Sample(s0_s, r4.xy).xyz;
r4.xyz = r4.xyz * berlom3(2,2,2) + berlom3(-1,-1,-1);
r4.xyz = r4.xyz * r5.zzz + berlom3(9.99999975e-006,9.99999975e-006,9.99999975e-006);
r2.xyz = r2.xyz * berlom3(2,2,2) + berlom3(-1,-1,-1);
r2.xyz = r2.xyz * r5.xxx + r4.xyz;
r0.yzw = r0.yzw * r5.yyy + r2.xyz;
r0.yzw = r3.xyz * r0.yzw;
r0.y = dot(r0.yzw, r0.yzw);
r0.y = rsqrt(r0.y);
r0.y = r0.z * r0.y;
r0.y = saturate(r0.y * cb0[2].x + r1.y);
r0.z = -1 + r0.y;
r0.y = min(r0.y, -r0.z);
r0.y = -1 + r0.y;
r0.y = -r0.y * r0.y + 1;
r1.xzw = r1.xzw * r0.yyy;
r1.xzw = cb0[0].yzw * r1.xzw;
r1.xzw = cb0[1].yyy * r1.xzw;
r2.xyz = cb0[1].xxx * cb0[0].yzw;
r0.yzw = r2.xyz * r0.yyy;
r2.x = -1 + r1.y;
r2.x = min(abs(r2.x), abs(r1.y));
r2.x = -1 + r2.x;
r2.x = -r2.x * r2.x + 1;
r2.y = r2.x * -2 + 3;
r2.x = r2.x * r2.x;
r2.x = r2.y * r2.x;
r0.yzw = r0.yzw * r2.xxx + r1.xzw;
r1.x = v5.w * v1.w;
r2.xyz = r1.xxx * r0.yzw;
r0.y = r2.x + r2.y;
r0.y = r0.w * r1.x + r0.y;
r0.y = saturate(0.333333343 * r0.y);
o0.w = r0.y * r0.x;
r0.x = v2.w / v3.w;
r0.x = 1 + -r0.x;
r0.y = r1.y + -r0.x;
r0.x = 1 + -r0.x;
r0.x = 1 / r0.x;
r0.x = saturate(r0.y * r0.x);
r0.y = 1 + -cb0[4].z;
r0.x = r0.x * r0.y + cb0[4].z;
r0.y = 0.5 + -v4.w;
r0.y = abs(r0.y) + abs(r0.y);
r0.y = min(1, r0.y);
r0.z = cb0[4].x + -cb0[4].y;
r0.y = r0.y * r0.z + cb0[4].y;
r0.x = r0.x * r0.y + 1;
o0.xyz = r2.xyz * r0.xxx;
reterwis;
}