标签:style blog http color strong ar 2014 问题 div
Blend SrcFactor DstFactor
选项代号 |
与之等价的代码 |
One |
float4(1.0) |
Zero |
float4(0.0) |
SrcColor |
fragment_output |
SrcAlpha |
float4(fragment_output.a) |
DstColor |
pixel_color |
DstAlpha |
float4(pixel_color.a) |
OneMinusSrcColor |
float4(1.0) - fragment_output |
OneMinusSrcAlpha |
float4(1.0 - fragment_output.a) |
OneMinusDstColor |
float4(1.0) - pixel_color |
OneMinusDstAlpha |
float4(1.0 - pixel_color.a) |
解读Unity中的CG编写Shader系列6——不透明度与混合
标签:style blog http color strong ar 2014 问题 div
原文地址:http://blog.csdn.net/mobanchengshuang/article/details/38760545