陰関数
$$ \begin{align} \boldsymbol{n} &= normalize(\nabla f( \boldsymbol{p} )) \ &= normalize \begin{pmatrix} \dfrac{\partial f(\boldsymbol{p})}{\partial x} \
Shader "Light Volume Samples/Light Volume PBR" | |
{ | |
Properties | |
{ | |
_MainTex("Albedo", 2D) = "white" {} | |
_Color("Color", Color) = (1,1,1,1) | |
[NoScaleOffset]_MetallicGlossMap("Metal AO Smoothness", 2D) = "white" {} | |
_Metallic("Metallic", Range( 0 , 1)) = 0 | |
_Glossiness("Smoothness", Range( 0 , 1)) = 1 | |
_OcclusionStrength("AO", Range( 0 , 1)) = 1 |
using System; | |
using System.Collections.Generic; | |
using System.Threading; | |
using System.Threading.Tasks; | |
#if !NET9_0_OR_GREATER | |
using Lock = object; | |
#endif // !NET9_0_OR_GREATER | |
#!/bin/bash | |
set -eu | |
if [ $# -lt 1 ]; then | |
echo Invalid arguments 1>&2 | |
echo [USAGE] | |
echo $0 UNITYPACKAGE | |
exit 1 | |
fi |
using System; | |
using System.Collections.Generic; | |
using System.Reflection; | |
using System.Reflection.Emit; | |
namespace Koturn | |
{ | |
/// <summary> | |
/// Provides some utility methods of <see cref="List{T}"/>. |
using System; | |
using System.Linq.Expressions; | |
using System.Reflection; | |
using UnityEditor; | |
using UnityEngine; | |
namespace Koturn | |
{ | |
/// <summary> |
Shader "koturn/GameOfLife" | |
{ | |
// セルの生存をアルファ値で管理する | |
// 座標(0, 0)は更新間隔管理に用いており,描画セルかどうかの座標値の判定は省いているので, | |
// (0, 0)に影響を及ぼさない安定したパターンを初期値として与える必要がある. | |
Properties | |
{ | |
_Color ("Cell Color", Color) = (0.0, 1.0, 0.0, 1.0) | |
_TimeScale ("Time multiplier for HSV rotation", Float) = 0.1 |
using System; | |
using System.IO; | |
using System.Linq; | |
namespace MoveFileByTimestamp | |
{ | |
public class Program | |
{ | |
private static readonly TimeSpan DefaultOffsetTs; |