Unity-shaderLab

来源:互联网 发布:手机淘宝怎么登不上 编辑:程序博客网 时间:2024/05/22 03:50
Shader “Shader Name”{Properties {_Color ("Main Color", Color) = (1,1,1,0)_Shininess ("Shininess", Range (0.01, 1)) = 0.7_MainTex ("Base (RGB)", 2D) = "white"{}}SubShader {Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType" = "Transparent"}BindChannels {Bind "Color", colorBind "Vertex", vertexBind "TexCoord", texcoord}Blend SrcAlpha OneMinusSrcAlphaPass{Material{Diffuse [_Color]}Cull OffLighting OnSetTexture [_MainTex] {combine texture * primary}}}SubShader {}……}


 

原创粉丝点击