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
Shader "FX/mmat" { | |
Properties { | |
_Color ("Main Color", Color) = (1,1,1,1) | |
_MainTex ("Base (RGB) Trans (A)", 2D) = "white" {} | |
_Cutoff ("Alpha cutoff", Range(0,1)) = 0.5 | |
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
#include "colors.inc" | |
#include "shapes.inc" | |
#include "woods.inc" | |
#include "textures.inc" | |
#include "stones.inc" | |
camera{ | |
location <0,0.5,-4> | |
look_at <0,0,0> | |
} | |
//ライト設定 Area Lights |
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
using UnityEngine; | |
using System.Collections; | |
public class webcam : MonoBehaviour { | |
public int Width = 1920; | |
public int Height = 1080; | |
public int FPS = 30; | |
public Material material; | |
WebCamTexture webcamTexture; |
NewerOlder