-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
143 changed files
with
11,228 additions
and
6,307 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file not shown.
107 changes: 107 additions & 0 deletions
107
AudioLinkUnityProject/Assets/AL Controller/ALController.fbx.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
41 changes: 41 additions & 0 deletions
41
AudioLinkUnityProject/Assets/AL Controller/AudioLinkController.shader
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
Shader "Custom/AudioLinkController" | ||
{ | ||
Properties | ||
{ | ||
_Color ("Color", Color) = (1,1,1,1) | ||
_MainTex ("Albedo (RGB)", 2D) = "white" {} | ||
_Metallic ("Metallic", 2D) = "white" {} | ||
[ToggleUI] _UseTheme ("Use Theme", Int) = 0 | ||
} | ||
SubShader | ||
{ | ||
Tags { "RenderType"="Opaque" } | ||
|
||
CGPROGRAM | ||
#pragma surface surf Standard fullforwardshadows | ||
#pragma target 3.0 | ||
|
||
sampler2D _MainTex; | ||
sampler2D _Metallic; | ||
float4 _Color; | ||
int _UseTheme; | ||
|
||
struct Input | ||
{ | ||
float2 uv_MainTex; | ||
}; | ||
|
||
void surf (Input IN, inout SurfaceOutputStandard o) | ||
{ | ||
float4 c = tex2D (_MainTex, IN.uv_MainTex) * _Color; | ||
o.Albedo = c.rgb; | ||
float4 b = tex2D(_Metallic, IN.uv_MainTex); | ||
o.Metallic = b.r; | ||
o.Smoothness = b.a; | ||
o.Occlusion = b.g; | ||
o.Alpha = c.a; | ||
} | ||
ENDCG | ||
} | ||
FallBack "Diffuse" | ||
} |
9 changes: 9 additions & 0 deletions
9
AudioLinkUnityProject/Assets/AL Controller/AudioLinkController.shader.meta
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.