
I am curious though, where can these functions (and usable native variables, like screen width/height) be found? I have searched the documentation and Google, but couldn't find a single resource.

tex2D(SceneColorTexture,float2(ScreenAlignedPosition(Parameters.ScreenPosition).xy));
float3 Result; for (int i=0; i<SampleAmount; i++) { for (int j=0; j<SampleAmount; j++) { Result += tex2D(Texture, float2(1/i, 1/j)); } } return(Result/SampleAmount/SampleAmount);
Leave a comment: