Search Unity

How to implement this GLSL camera render shader in Unity3d?

Discussion in 'Shaders' started by 2600th, Aug 1, 2014.

  1. 2600th


    Jan 7, 2014
    Hi I've just started learning shaders using this wikibook for Unity3d. I was searching web for cool shaders and came across this shader and I would love to implement the same in Unity3D. Could someone please guide me in the right direction about learning required mathematics, GLSL to CG conversion and how to get camera to render this shader? I tried translating the code, but it's not working. Here's a link to the same. There's one more thing I don't understand why is Unity3d using CG by default when Nvidia has already dropped support for the same?