#杉野 裕則
- 三重県四日市市出身
- 鈴鹿高専卒業(2007)
- 武蔵野美術大学卒業(2011)
- チームラボ入社(2011/新卒)
鈴鹿高専を経て武蔵野美術大学を卒業後、2011年チームラボ入社。
Shader "Unlit/SimpleGeometry" | |
{ | |
Properties | |
{ | |
_MainTex ("Texture", 2D) = "white" {} | |
} | |
SubShader | |
{ | |
Tags { "RenderType"="Opaque" } | |
LOD 100 |
using UnityEngine; | |
using System.Collections; | |
public class InvokeMethod : MonoBehaviour | |
{ | |
void Start() | |
{ | |
this.Invoke(SomeMethod, 5f); | |
} |
using UnityEngine; | |
public class Converter | |
{ | |
public static Texture2D ConvertTextureUV(Texture tex, Mesh mesh, int width = 512, int height = 512) | |
{ | |
var rt = new RenderTexture(width, height, 0, RenderTextureFormat.ARGB32); | |
RenderTexture.active = rt; | |
GL.Clear(true, true, Color.clear); |
@echo off | |
if not "%~0"=="%~dp0.\%~nx0" ( | |
start /min cmd /c,"%~dp0.\%~nx0" %* | |
exit | |
) | |
timeout /T 30 | |
:begin | |
taskkill /F /IM explorer.exe |
Shader "Hidden/MeshDataWriter" | |
{ | |
SubShader | |
{ | |
Pass | |
{ | |
CGPROGRAM | |
#pragma vertex vert | |
#pragma fragment frag | |
#pragma target 4.5 |
//http://esprog.hatenablog.com/entry/2016/10/17/184146 | |
Shader "Unlit/Unlit-Tess"{ | |
Properties{ | |
_TessFactor("Tess Factor",Vector) = (2,2,2,2) | |
_DispPhong ("Disp Phong",Range(0,1)) = 0 | |
} | |
SubShader{ | |
Pass{ | |
CGPROGRAM |