Sepia with final color

How to use the final function in surface shader.