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
// original code: https://www.shadertoy.com/view/ldfGWn | |
inline float rand(float3 r) | |
{ | |
return frac(sin(dot(r.xy, r.yz))); | |
} | |
inline float truchetarc(float3 pos) | |
{ | |
float p = 4.0 + 2.0 * _SinTime.w; |
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
/*! @file | |
@brief gnuplotクラス | |
@author hecomi (http://d.hatena.ne.jp/hecomi/) | |
@date December 09, 2010. ver. 1.03 | |
10/07/05 完成 | |
10/07/12 ログプロット/reset/PNG出力追加 | |
10/07/13 マルチプロット | |
10/12/09 ヘッダファイルのみに変更 | |
*/ |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.fontFamily": "Ricty Discord", | |
"editor.fontSize": 14, | |
"editor.referenceInfos": false, | |
"vim.otherModesKeyBindings": [ | |
{ | |
"before": ["j"], | |
"after": ["g", "j"] | |
}, |
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
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.fontFamily": "Ricty Discord", | |
"editor.fontSize": 14, | |
"editor.referenceInfos": false, | |
"vim.otherModesKeyBindings": [ | |
{ | |
"before": ["j"], | |
"after": ["g", "j"] | |
}, |
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 System; | |
using System.Linq; | |
using System.Threading; | |
using UnityEngine; | |
using Windows.Kinect; | |
public class DepthParticle : MonoBehaviour | |
{ | |
public MultiSourceManager multiSouceManager; | |
public ParticleSystem particleSystem; |
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/DeferredSurface" | |
{ | |
Properties | |
{ | |
_Color ("Color", Color) = (1,1,1,1) | |
_MainTex ("Albedo (RGB)", 2D) = "white" {} | |
_Glossiness ("Smoothness", Range(0,1)) = 0.5 | |
_Metallic ("Metallic", Range(0,1)) = 0.0 | |
} |
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; | |
public class PrintNumberOfCameras : MonoBehaviour | |
{ | |
void Start() | |
{ | |
Debug.Log(WebCamTexture.devices.Length); | |
} | |
} |
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 CameraTest : MonoBehaviour | |
{ | |
public int cameraNumber = 0; | |
private WebCamTexture webcamTexture; | |
void Start() | |
{ |
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 UnityEngine.UI; | |
using UnityEngine.Networking; | |
using System.Collections; | |
public class SyncPlayerUI : NetworkBehaviour | |
{ | |
[SyncVar(hook="OnIdChanged")] | |
private string id_; |
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 "Hidden/ScreenSpaceLocalReflection" | |
{ | |
Properties | |
{ | |
_MainTex("Base (RGB)", 2D) = "" {} | |
} | |
SubShader | |
{ |