Mercurial > hg > Game > Games
comparison Orchestland/Assets/LeapMotion/Shaders/RimShading.shader @ 3:0030a1b971fb default tip
merge
author | Yuta ANSE <e135745@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 17 Jul 2015 23:23:43 +0900 |
parents | f7675884f2a1 |
children |
comparison
equal
deleted
inserted
replaced
2:fdab88fc2cb9 | 3:0030a1b971fb |
---|---|
1 Shader "LeapMotion/Rim Light Specular With Alpha" { | |
2 Properties { | |
3 _Color ("Main Color", Color) = (1,1,1,1) | |
4 _MainTex ("Base (RGB) Transparency (A)", 2D) = "white" {} | |
5 _Reflections ("Base (RGB) Gloss (A)", Cube) = "skybox" { TexGen CubeReflect } | |
6 } | |
7 SubShader { | |
8 Tags { "Queue" = "Transparent" } | |
9 Pass { | |
10 Blend SrcAlpha OneMinusSrcAlpha | |
11 Material { | |
12 Diffuse [_Color] | |
13 } | |
14 Lighting On | |
15 SetTexture [_MainTex] { | |
16 combine texture * primary double, texture * primary | |
17 } | |
18 } | |
19 Pass { | |
20 Blend One One | |
21 Material { | |
22 Diffuse [_Color] | |
23 } | |
24 Lighting On | |
25 SetTexture [_Reflections] { | |
26 combine texture | |
27 Matrix [_Reflection] | |
28 } | |
29 } | |
30 } | |
31 Fallback "VertexLit" | |
32 } |