Unity build-in shader 阅读-------HLSLSupporting.cginc
Texture2D sampler2D https://docs.unity3d.com/Manual/SL-SamplerStates.htmltex.SampleCmpLevelZero (sampler##tex,(coord).xy,(coord).z)
HLSLSupport.cginc 261
#define UNITY_SAMPLE_SHADOW(tex,coord)
原创
2017-09-18 19:22:51 ·
1235 阅读 ·
0 评论