Fixing sampler2D & Texture2D calls.

Added custom post-process callbacks using lambdas