This file contains hidden or 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
| var Color = {}; | |
| Color.Red = '#F26C4F'; | |
| Color.RedOrange = '#F68E55'; | |
| Color.YellowOrange = '#FBAF5C'; | |
| Color.Yellow = '#FFF467'; | |
| Color.PeaGreen = '#ACD372'; | |
| Color.YellowGreen = '#7CC576'; | |
| Color.Green = '#3BB878'; | |
| Color.GreenCyan = '#1ABBB4'; |
This file contains hidden or 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
| Shader "Custom/Warband" { | |
| Properties { | |
| _Color ("Color", Color) = (1,1,1,1) | |
| _MainTex ("Texture (RGB)", 2D) = "white" {} | |
| _Size ("Size", Range(0, 1.0)) = 0.01 | |
| } | |
| SubShader { | |
| Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" } | |
| Pass { | |
| Blend SrcAlpha OneMinusSrcAlpha |
This file contains hidden or 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
| Shader "Custom/Wireframe" | |
| { | |
| Properties | |
| { | |
| _Color ("Color", Color) = (1,1,1,1) | |
| _MainTex ("Texture (RGB)", 2D) = "white" {} | |
| } | |
| SubShader | |
| { | |
| Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" } |
This file contains hidden or 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
| Shader "Distortion/Vortex" { | |
| Properties { | |
| _Color ("Color", Color) = (1,1,1,1) | |
| _MainTex ("Texture (RGB)", 2D) = "white" {} | |
| _Size ("Size", Range(0, 1.0)) = 0.01 | |
| } | |
| SubShader { | |
| Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" } | |
| Pass { | |
| Blend SrcAlpha OneMinusSrcAlpha |
This file contains hidden or 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
| Shader "Distortion/Vortex" { | |
| Properties { | |
| _Color ("Color", Color) = (1,1,1,1) | |
| _MainTex ("Texture (RGB)", 2D) = "white" {} | |
| _Size ("Size", Range(0, 1.0)) = 0.01 | |
| } | |
| SubShader { | |
| Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" } | |
| Pass { | |
| Blend SrcAlpha OneMinusSrcAlpha |
This file contains hidden or 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
| Shader "Distortion/VortexTriangle" { | |
| Properties { | |
| _Color ("Color", Color) = (1,1,1,1) | |
| _MainTex ("Texture (RGB)", 2D) = "white" {} | |
| _Size ("Size", Range(0, 1.0)) = 0.01 | |
| _Scale ("Scale", Range(0, 1.0)) = 0.01 | |
| _Offset ("Offset", Range(0, 1.0)) = 0.01 | |
| } | |
| SubShader { | |
| Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" } |
This file contains hidden or 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
| Shader "Custom/Transparent" { | |
| Properties { | |
| _Color ("Color", Color) = (1,1,1,1) | |
| _MainTex ("Texture (RGB)", 2D) = "white" {} | |
| } | |
| SubShader { | |
| Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" } | |
| Pass { | |
| Cull off | |
| Blend SrcAlpha OneMinusSrcAlpha |
This file contains hidden or 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
| using UnityEngine; | |
| using System.Collections; | |
| public class TimeTexture : MonoBehaviour | |
| { | |
| WebCamTexture textureWebcam; | |
| Texture2D texture; | |
| Color[][] colorList; | |
| int width; | |
| int height; |
This file contains hidden or 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
| using UnityEngine; | |
| using System.Collections; | |
| public class TimeTextureMac : MonoBehaviour | |
| { | |
| WebCamTexture webcamTexture; | |
| Texture2D timeTexture; | |
| Color[][] colorList; | |
| int width, height, sliceCount; | |
| int userSliceCount = 2; |
This file contains hidden or 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
| using UnityEngine; | |
| using System.Collections; | |
| [RequireComponent (typeof (Camera))] | |
| public class FrameBuffer : MonoBehaviour | |
| { | |
| public string textureName = "_FrameBuffer"; | |
| Camera cameraCapture; | |
| int currentTexture; | |
| RenderTexture[] textures; |
OlderNewer