ShaderLab属性类型 | CG变量类型 |
---|---|
Color, Vector | float4, half4, fixed4 |
Range, Float | float, half, fixed |
2D | sampler2D |
Cube | samplerCube |
3D | sampler3D |
ShaderLab属性类型 | CG变量类型 |
---|---|
Color, Vector | float4, half4, fixed4 |
Range, Float | float, half, fixed |
2D | sampler2D |
Cube | samplerCube |
3D | sampler3D |
本文标题:Unity3D ShaderLab属性和CG变量类型的匹配关系
本文链接:https://www.haomeiwen.com/subject/seeouqtx.html
网友评论