So I’m new here (to unity3d) and was reading up a little on the shaders. Now as far as I understand is that the HLSL and Cg are the same thing, co-developed by Microsoft and nVidia?
The only difference being that Cg can be compiled for DirectX and OpenGl where HLSL can only compile for Microsofts DirectX api.
I hope someone can help me out a bit here so i can understand it a bit more, If this was/is to be true almost any HLSL shader could be compiled as CG shader as well? This also means that many of the free on the net HLSL shaders should be able to be used with Unity3d?
Hope someone can shed some light on this for me.