- 11
- 0
- 约3.57千字
- 约 7页
- 2017-07-04 发布于河南
- 举报
Unity的shader帮助手册(二)
ShaderLab
Shader MyShaderName {
Properties {
// ... properties here ...
}
SubShader {
// ... subshader for graphics hardware A ...
Pass {
// ... pass commands ...
}
// ... more passes if needed ...
}
SubShader {
// ... subshader for graphics hardware B ...
}
// ... Optional fallback ...
FallBack VertexLit
}
FallBack VertexLit
SubShaders
SubShaders
subshader
VertexLit
SubShaders
SubShadersUsePass
“”
UsePass Specular/BASE
原创力文档

文档评论(0)