Simplify and fix rh shader.