Entries from 2021-02-03 to 1 day
compute shaderをつかって頂点をベイクする using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; #if UNITY_EDITOR using UnityEditor; using System.IO; #endif public class MeshVertBaker2 : MonoBehavi…
bake vertices to texture2d using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEngine; #if UNITY_EDITOR using UnityEditor; using System.IO; #endif public class MeshVertBaker1 : MonoBehaviour { [Seriali…
JSONObject使い方 import using UnityEngine; using System.IO; public class JsonLoader : MonoBehaviour { public TextAsset data; // private List<Vector3> _hoge; void Start() { Debug.Log(data.text); //読み込む var a = new JSONObject(data.text); var n = </vector3>…