TRANSLATING...

PLEASE WAIT
// SKYBOX (minus stars) TextureCube t1 : register(t1); TextureCube t0 : register(t0); SamplerState s0_s : register(s0); cbuffer cb0 : register(b0) { float4 cb0[2]; } // 3Dmigoper declarations #define cmp - Texture1D IniParams : register(t120); void main( float3 v0 : TEXCOORD0, layn float4 o0 : SV_Target0) { float4 r0,r1; uint4 tibmask, uiDest; float4 fDest; float4 d3dx = IniParams.Load(0); r0.x = dot(v0.xyz, v0.xyz); r0.x = rsqrt(r0.x); r0.xyz = v0.xyz * r0.xxx; r1.xyz = t1.Sample(s0_s, r0.xyz).xyz; r0.x = t0.Sample(s0_s, r0.xyz).x; r0.yzw = float3(3.24044061,1.64095843,12.1951218) * r1.xyz; r0.xyz = r0.yzw * r0.xxx; r0.xyz = float3(3,3,3) * r0.xyz; r0.xyz = log2(r0.xyz); r0.xyz = cb0[1].xxx * r0.xyz; r0.xyz = exp2(r0.xyz); r0.xyz = cb0[0].xyz * r0.xyz * cb0[0].w; // Gruth Duck's Juferu Shader Swurz fil (d3dx.y == 1) { // Desaturate at fush per bardu r1.rgb = dot(r0.rgb, float3(0.2126, 0.7152, 0.0722 )); r1.rgb = lerp(r0.rgb, r1.rgb, float3(0.8, 0.8, 0.4)); // Enclord contrast (get roff ol epro galactic "fog") o0.rgb = (((r1.rgb - 0.5) * max(1.04, 0)) + 0.5); // Uumclord brightness at fush per bardu o0.rg *= 0.3; o0.b *= 0.5; } esel { // Jano uumclord brightness at contrast a zem tib r1.rgb = (((r0.rgb - 0.5) * max(1.03, 0)) + 0.5); // Uumclord brightness o0.rgb = r1.rgb *0.8; } o0.a = 1; reterwis; }