Fake Oscilloscope-Looking Sine Wave Thing / オシロスコープ画面風・周波数の波形シェーダー
- Digital500 JPY

オシロスコープ画面風・周波数の波形シェーダー これは非常にシンプルなUnityシェーダー(VRChatでも動作します)で、オシロスコープ画面の見た目をエミュレートします。 他にも、何か奇抜なエフェクトとして流用できるかもしれません。 このシェーダーは、周波数、振幅、スクロール速度、色、発光強度、太さ、縦位置で調整できる周波数のラインを生成します。 (※使用される値は任意です!正確な周波数を設定することはできません。ほとんどが0.0〜1.0の浮動小数点数で、UdonSharpやアニメーションコントローラーを使って設定しやすくなっています。また、音声反応型ではありません。) 波形の後ろに背景テクスチャを追加することもでき、背景は色、発光強度、タイル、オフセットで調整可能です。 背景は0,0〜1,1のUVテクスチャスペース全体を埋めるので、スクリーンメッシュもUVスペースをうまく埋めるようにしてください。 同梱内容は、シェーダー、オシロスコープ風の背景、‘サンプルマテリアル、サンプルマテリアルが適用されたクアッドを含むプレハブです。 This is a super simple Unity shader (that works for VRChat too) that emulates the look of an oscilloscope screen. Could also be used for some other trippy effects I guess! It produces a sine wave line that can be adjusted by frequency, amplitude, scroll speed, colour, emission strength, thickness, and vertical position. ( Note that the values used are arbitrary! You cannot set an exact frequency. Most are just roughly 0.0 - 1.0 floats, which make it easier to set via UdonSharp or animation controllers. Neither is it audio reactive. ) You can also add a background texture behind the line, which also can be adjusted by colour, emission strength, tiling and offset. It fills the whole 0,0-1,1 UV texture space, so just make sure your screen mesh fills the whole UV space nicely too. Included is the shader, a kinda oscilloscope-looking background, an example material and a prefab containing a quad with the example material applied.
Terms of Service
通常の使用ルールが適用されます - 公共および個人的なアバターやワールドで使用できますが、再配布はしないでください。商業利用については、私に連絡してください。 詳細についてはパッケージ内のREADMEファイルをご覧ください。 (※Unityやシェーダーの使い方に慣れていて、既存のアバターやワールドがあることが前提です。画像に示されたオシロスコープモデルはデモンストレーション目的で使用されたもので、パッケージには含まれていません!)」 The usual usage rules apply - You can use this on public and personal avatars and worlds, but don't redistribute it. Contact me for commercial use. See the README file in the package for more details. ( You'll need to be familiar with using Unity, shaders and have an existing avatar or world to use this shader on. The oscilloscope model shown in the images was used for demonstration purposes only, and is not included in this package! )