摘要:
【Vertex Modifier of Surface Shader】 Surface shader compilation directivevertex:functionName 可以用于指定顶点着色器。Afunction that takesinout appdata_fullparamet... 阅读全文
摘要:
【Camera’s Depth Texture】 In Unity a Camera can generate a depth or depth+normals texture. This is a minimalistic G-buffer texture that can be used fo... 阅读全文
摘要:
【Writing Surface Shaders】 Writing shaders that interact with lighting is complex. There are different light types, different shadow options, differen... 阅读全文