http://i61.photobucket.com/albums/h61/TheDarknut/DeathinOrdosal.jpg
return float4(color.rgb / amount, 1);}technique T0{ pass { PixelShader = compile SM dof(); } pass { PixelShader = compile SM smartblur(); }}
return float4(color.rgb / amount, 1);}float4 handsback(in float2 tex : TEXCOORD ) : COLOR0{ float4 dofimage = tex2D (s3, tex); float4 ce = smoothstep(39,40, tex2D(s1, tex).r); float4 image = tex2D(s0, tex); float4 hands = (1 - ce) * image; float4 rest = dofimage * (ce); float4 mix = rest + hands; return mix; }technique T0{ pass { PixelShader = compile SM dof(); } pass { PixelShader = compile SM smartblur(); } pass { PixelShader = compile SM handsback(); }}
return float4(color.rgb / amount, 1);}technique T0{ pass { PixelShader = compile SM dof(); } pass { PixelShader = compile SM smartblur(); }}
return float4(color.rgb / amount, 1);}float4 handsback(in float2 tex : TEXCOORD ) : COLOR0{ float4 dofimage = tex2D (s3, tex); float4 ce = smoothstep(99,100, tex2D(s1, tex).r); float4 image = tex2D(s0, tex); float4 hands = (1 - ce) * image; float4 rest = dofimage * (ce); float4 mix = rest + hands; return mix; }technique T0{ pass { PixelShader = compile SM dof(); } pass { PixelShader = compile SM smartblur(); } pass { PixelShader = compile SM handsback(); }}