Unity compiler directives
Unity Surface Shader compiler directives 유니티 서피스 셰이더 컴파일러 지시문 링크 : https://docs.unity3d.com/Manual/SL-SurfaceShaders.html Required parameters • surfaceFunction - which Cg function has surface shader code. The function should have the form of void surf (Input IN, inout SurfaceOutput o), where Input is a structure you have defined. Input should contain any texture coordinates and extra automatic v..