- phi16 (口語: ふぁい)
- その辺のインターネット個人です。
- 主にVRChatに居ますが、割とどこでも。
- アカウント類
- Twitter ← 連絡もらえるとしたらここが嬉しいです
なんか全部mdで書いてembedすれば良いという話も聞きますが:
- 横幅少し減るし
- どちらかというと「ぱらぱら読めるもの」の方を書きたい気持ちもあるので
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 "phi16/Wire" | |
{ | |
Properties | |
{ | |
} | |
SubShader | |
{ | |
Tags { "RenderType"="Transparent" "Queue"="Transparent" } | |
LOD 100 | |
ZWrite Off |
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; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
public class AnimationLooper : MonoBehaviour { | |
[SerializeField] private AnimationClip clip; | |
[SerializeField] private float overlapTime = 0.5f; | |
[SerializeField] private string path; | |
#if UNITY_EDITOR |
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 MathNet.Numerics; | |
using System; | |
using System.Collections.Generic; | |
class AnimCurve { | |
public enum CurveType { | |
Discrete, | |
Linear, | |
Smooth, |
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 System; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
using UnityEngine.Playables; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
#endif | |
// Original: https://styly.cc/ja/tips/aigaalince001_jojomon_particlelive1/ CreateBoneAnimeClip.cs |
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 System.Collections.Generic; | |
using System.IO; | |
using UnityEngine; | |
using System; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
// Original: https://techblog.sega.jp/entry/2016/11/28/100000 | |
public class KeyframeReduction : AssetPostprocessor |
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 System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
#if UNITY_EDITOR | |
using UnityEditor; | |
using UnityEditor.Events; | |
using UnityEditor.Animations; | |
#endif | |
public class MeshGenerator : MonoBehaviour { |
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 "Amebient/Air" | |
{ | |
Properties | |
{ | |
_Color ("Color", Color) = (0.5,0.8,1,1) | |
} | |
SubShader | |
{ | |
Tags { "RenderType"="Transparent" "Queue"="Transparent-525" "LightMode"="ForwardBase" "DisableBatching"="True" } | |
LOD 100 |
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 "Mochi/Snow" | |
{ | |
Properties | |
{ | |
_Color ("Color", Color) = (0.5,0.8,1,1) | |
} | |
SubShader | |
{ | |
Tags { "RenderType"="Transparent" "Queue"="Transparent" "LightMode"="ForwardBase" "DisableBatching"="True" } | |
LOD 100 |
NewerOlder