RSM stuff. Implementing RSM fragment shader.