07-21-2013 12:17 PM
07-21-2013 03:27 PM
07-21-2013 06:23 PM
09-15-2013 05:55 PM
09-19-2013 12:06 AM
09-19-2013 01:40 AM
"artyom17" wrote::lol: Like a tuner for a timpani your upsellin' it like a pro bro! :lol:
Current UE3 integration doesn't have this issue, new UDK will also work correctly when screenpercentage is changed via console command.
09-19-2013 07:33 PM
{
float2 theta = (oTexCoord - LensCenter) * ScaleIn;
float rSq = theta.x * theta.x + theta.y * theta.y;
float2 theta1 = theta * (HMDWarpParam.x + HMDWarpParam.y * rSq + HMDWarpParam.z * rSq * rSq + HMDWarpParam.w * rSq * rSq * rSq);
float2 thetaBlue = theta1 * (ChromAbParam.z + ChromAbParam.w * rSq);
float2 tcBlue = LensCenter + Scale * thetaBlue;
if(any(clamp(tcBlue, ScreenCenter-float2(0.25,0.5), ScreenCenter+float2(0.25,0.5)) - tcBlue))
return 0;
float4 blueColor = tex2D(sampler2D(readTexture), tcBlue);
float blue = blueColor.b;
float2 tcGreen = LensCenter + Scale * theta1;
float4 greenColor = tex2D(sampler2D(readTexture), tcGreen);
float green = greenColor.g;
float alpha = greenColor.a;
float2 thetaRed = theta1 * (ChromAbParam.x + ChromAbParam.y * rSq);
float2 tcRed = LensCenter + Scale * thetaRed
float4 redColor = tex2D(sampler2D(readTexture), tcRed);
float red = redColor.r;
return float4(red, green, blue, alpha);
};
09-19-2013 07:34 PM
"HappyHimitsu" wrote:"artyom17" wrote::lol: Like a tuner for a timpani your upsellin' it like a pro bro! :lol:
Current UE3 integration doesn't have this issue, new UDK will also work correctly when screenpercentage is changed via console command.
Glad to know UE3 doesn't have these problems, thanks for the heads-up. 😉