1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- // Shader created with Shader Forge v1.37
- // Shader Forge (c) Neat Corporation / Joachim Holmer - http://www.acegikmo.com/shaderforge/
- // Note: Manually altering this data may prevent you from opening it in Shader Forge
- /*SF_DATA;ver:1.37;sub:START;pass:START;ps:flbk:,iptp:0,cusa:False,bamd:0,cgin:,lico:1,lgpr:1,limd:0,spmd:1,trmd:0,grmd:0,uamb:True,mssp:True,bkdf:False,hqlp:False,rprd:False,enco:False,rmgx:True,imps:True,rpth:0,vtps:0,hqsc:True,nrmq:1,nrsp:0,vomd:0,spxs:False,tesm:0,olmd:1,culm:0,bsrc:0,bdst:0,dpts:2,wrdp:False,dith:0,atcv:False,rfrpo:True,rfrpn:Refraction,coma:15,ufog:False,aust:True,igpj:True,qofs:0,qpre:3,rntp:2,fgom:False,fgoc:False,fgod:False,fgor:False,fgmd:0,fgcr:0.5,fgcg:0.5,fgcb:0.5,fgca:1,fgde:0.01,fgrn:0,fgrf:300,stcl:False,stva:128,stmr:255,stmw:255,stcp:6,stps:0,stfa:0,stfz:0,ofsf:0,ofsu:0,f2p0:False,fnsp:False,fnfb:False,fsmp:False;n:type:ShaderForge.SFN_Final,id:3138,x:33050,y:32705,varname:node_3138,prsc:2|emission-3564-OUT,alpha-7009-A;n:type:ShaderForge.SFN_Color,id:7241,x:31850,y:32121,ptovrint:False,ptlb:Color,ptin:_Color,varname:node_7241,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,c1:0.07843138,c2:0.3921569,c3:0.7843137,c4:1;n:type:ShaderForge.SFN_Tex2d,id:966,x:31604,y:32286,ptovrint:False,ptlb:WenLi,ptin:_WenLi,varname:node_966,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,ntxv:0,isnm:False;n:type:ShaderForge.SFN_Tex2d,id:7009,x:31432,y:32609,ptovrint:False,ptlb:node_7009,ptin:_node_7009,varname:node_7009,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,ntxv:0,isnm:False;n:type:ShaderForge.SFN_Slider,id:8079,x:31207,y:32871,ptovrint:False,ptlb:node_8079,ptin:_node_8079,varname:node_8079,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,min:0,cur:0,max:5;n:type:ShaderForge.SFN_Multiply,id:9231,x:31731,y:32946,varname:node_9231,prsc:2|A-7009-RGB,B-8079-OUT;n:type:ShaderForge.SFN_Multiply,id:8505,x:32358,y:32394,varname:node_8505,prsc:2|A-4461-OUT,B-9231-OUT;n:type:ShaderForge.SFN_Multiply,id:4461,x:32185,y:32225,varname:node_4461,prsc:2|A-7241-RGB,B-966-RGB,C-7507-OUT;n:type:ShaderForge.SFN_Slider,id:7507,x:31604,y:32496,ptovrint:False,ptlb:WenLi_TEX,ptin:_WenLi_TEX,varname:node_7507,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,min:0,cur:0,max:5;n:type:ShaderForge.SFN_Add,id:3564,x:32730,y:32452,varname:node_3564,prsc:2|A-8505-OUT,B-10-OUT;n:type:ShaderForge.SFN_Slider,id:8928,x:32083,y:32907,ptovrint:False,ptlb:node_8928,ptin:_node_8928,varname:node_8928,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,min:0,cur:1,max:2;n:type:ShaderForge.SFN_Color,id:5827,x:32161,y:32676,ptovrint:False,ptlb:node_5827,ptin:_node_5827,varname:node_5827,prsc:2,glob:False,taghide:False,taghdr:False,tagprd:False,tagnsco:False,tagnrm:False,c1:0.5,c2:0.5,c3:0.5,c4:1;n:type:ShaderForge.SFN_Multiply,id:10,x:32459,y:32598,varname:node_10,prsc:2|A-7009-RGB,B-5827-RGB,C-8928-OUT;proporder:7241-966-7009-8079-7507-8928-5827;pass:END;sub:END;*/
- Shader "LuoYeDaShi/TeXiao02" {
- Properties {
- _Color ("Color", Color) = (0.07843138,0.3921569,0.7843137,1)
- _WenLi ("WenLi", 2D) = "white" {}
- _node_7009 ("node_7009", 2D) = "white" {}
- _node_8079 ("node_8079", Range(0, 5)) = 0
- _WenLi_TEX ("WenLi_TEX", Range(0, 5)) = 0
- _node_8928 ("node_8928", Range(0, 2)) = 1
- _node_5827 ("node_5827", Color) = (0.5,0.5,0.5,1)
- [HideInInspector]_Cutoff ("Alpha cutoff", Range(0,1)) = 0.5
- }
- SubShader {
- Tags {
- "IgnoreProjector"="True"
- "Queue"="Transparent"
- "RenderType"="Transparent"
- }
- Pass {
- Name "FORWARD"
- Tags {
- "LightMode"="ForwardBase"
- }
- Blend One One
- ZWrite Off
-
- CGPROGRAM
- #pragma vertex vert
- #pragma fragment frag
- #define UNITY_PASS_FORWARDBASE
- #include "UnityCG.cginc"
- #pragma multi_compile_fwdbase
- #pragma only_renderers d3d9 d3d11 glcore gles gles3 metal d3d11_9x xboxone n3ds wiiu
- #pragma target 3.0
- uniform float4 _Color;
- uniform sampler2D _WenLi; uniform float4 _WenLi_ST;
- uniform sampler2D _node_7009; uniform float4 _node_7009_ST;
- uniform float _node_8079;
- uniform float _WenLi_TEX;
- uniform float _node_8928;
- uniform float4 _node_5827;
- struct VertexInput {
- float4 vertex : POSITION;
- float2 texcoord0 : TEXCOORD0;
- };
- struct VertexOutput {
- float4 pos : SV_POSITION;
- float2 uv0 : TEXCOORD0;
- };
- VertexOutput vert (VertexInput v) {
- VertexOutput o = (VertexOutput)0;
- o.uv0 = v.texcoord0;
- o.pos = UnityObjectToClipPos( v.vertex );
- return o;
- }
- float4 frag(VertexOutput i) : COLOR {
- ////// Lighting:
- ////// Emissive:
- float4 _WenLi_var = tex2D(_WenLi,TRANSFORM_TEX(i.uv0, _WenLi));
- float4 _node_7009_var = tex2D(_node_7009,TRANSFORM_TEX(i.uv0, _node_7009));
- float3 emissive = (((_Color.rgb*_WenLi_var.rgb*_WenLi_TEX)*(_node_7009_var.rgb*_node_8079))+(_node_7009_var.rgb*_node_5827.rgb*_node_8928));
- float3 finalColor = emissive;
- return fixed4(finalColor,_node_7009_var.a);
- }
- ENDCG
- }
- }
- FallBack "Diffuse"
- CustomEditor "ShaderForgeMaterialInspector"
- }
|