Skip to content

Instantly share code, notes, and snippets.

View yty's full-sized avatar

Terry yty

  • ShangHai
View GitHub Profile
// Upgrade NOTE: replaced 'mul(UNITY_MATRIX_MVP,*)' with 'UnityObjectToClipPos(*)'
Shader "Custom/Zoom" {
Properties {
_MainTex("Base (RGB)", 2D) = "white" {}
_LWTex("LieWen (RGB)", 2D) = "white" {}
_ForceVector("ForceVector", Vector) = (0,0,0)
_length("len", float) = 0
}
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class testExternalImage : MonoBehaviour {
private PXCMSenseManager psm; //SenseManager Instance
private pxcmStatus sts; //Check error status
private PXCMFaceModule facemodule; //FaceModule Instance
@yty
yty / test.avi
Last active September 1, 2015 10:26
terry
This file has been truncated, but you can view the full file.