2019-11-01から1ヶ月間の記事一覧
Depth Fadeと呼ばれている手法について紹介します。 Unity Products:Amplify Shader Editor/Depth Fade - Amplify Creations Wiki [https://wiki.unrealengine.com/Visual_Effects:Lesson_02:Using_Depth_Fade:title] こちらのチュートリアルに大変お世話に…
[SerializeField] private PostProcessVolume _ppVolume; void Start() { Bloom bloom; _ppVolume.profile.TryGetSettings(out bloom); bloom.threshold.value = 3f; }
最近知りましたが、macには標準でグラフを描くアプリが入っていました。 これでガウス関数を作ってみます。 mac標準アプリのGrapher パラメータ化した値を操作して動かす事も出来る。 どんなパラメーターになるのか理解するのに役立ちそう。 しかし ちょっと…
参考にしたソース https://github.com/Unity-Technologies/PostProcessing/blob/v2/PostProcessing/Runtime/Effects/ScalableAO.cs // AO buffer var rtMask = ShaderIDs.OcclusionTexture1; int scaledWidth = context.width / ts; int scaledHeight = cont…
公式マニュアルはhttps://docs.unity3d.com/Packages/com.unity.postprocessing@2.2/manual/Writing-Custom-Effects.html 公式 APIドキュメント https://docs.unity3d.com/Packages/com.unity.postprocessing@2.2/api/ どちらもバージョンに注意。 使い方は…