Day Night Cycle UdonSharp (VRChat Prefab)
- ダウンロード商品¥ 0
This is a fork of a prefab by Nova_max https://github.com/tommaier123/UdonSharpDayNightController https://github.com/Iconoclass/UdonSharpDayNightController IMPORT THE FOLLOWING TO USE THIS PREFAB: VRCHAT SDK3 WORLD https://vrchat.com/home/download UDON SHARP https://github.com/MerlinVR/UdonSharp/releases BFW SIMPLE DYNAMIC CLOUDS https://assetstore.unity.com/packages/tools/particles-effects/bfw-simple-dynamic-clouds-85665 I added a UI prefab, a custom reflection probe and the option to toggle sun shadows on and off. I added headers and tooltips to the script. I also commented out parts of the script specific to Nova_Max's world. Serene Seaside: https://vrchat.com/home/launch?worldId=wrld_8b709af3-4e49-4dec-9cbb-132b2234fe7f (My world featuring the day night cycle)
From the original readme
Day Night Cycle Island https://vrchat.com/home/world/wrld_6c4f1572-a918-4e6d-b383-6b056111768f Features: Day night cycle Global time syncing Performance optimized real time lighting and shadows Quest support Time of day and speed controls (accessible by everyone) Performance options Mirror Seats Custom water shader Moving grass and trees Audio dynamically changes with time of day Campfire lights dring the night Leaf particles Procedural Clouds Procedural Stars My goal was to create a comfy place to hang out with the additional feature of the day night cycle to make the world feal more immersive. I wanted everyone to be able to have fun with the day night cycle so I made the controls accessible for every player and not just the master. On the other hand the time of day and cycle speed are synced globally so everyone can enjoy the sunset at the same time or watch the stars together. I spent a lot of time optimizing the lighting and shadows so the world is able to run on all systems including quest. For that reason I was able to simplify the menu by removing most performance settings. The only settings that are still in the menu are for controlling the cycle and to toggle some of the visuals and background music. Assets/Tools used: Udon Sharp Amplify Shader Editor Unity Default Skybox BFW Simple Dynamic Clouds Stylized Forest Environment You can download the day night cycle controller script here. It will definitely work with the default skybox and should also work with any procedural skybox.
DeepL JP
Nova_maxによるプレハブのフォークです。 https://github.com/tommaier123/UdonSharpDayNightController https://github.com/Iconoclass/UdonSharpDayNightController このプレハブを使用するには、以下をインポートしてください。 VRCHAT SDK3 WORLD https://vrchat.com/home/download UDON シャープ https://github.com/MerlinVR/UdonSharp/releases bfw シンプルな動的雲 https://assetstore.unity.com/packages/tools/particles-effects/bfw-simple-dynamic-clouds-85665 UIプレハブ、カスタム反射プローブ、太陽の影のON/OFFを切り替えるオプションを追加しました。スクリプトにヘッダーとツールチップを追加しました。また、Nova_Maxの世界に特化したスクリプトの部分をコメントアウトしています。 Serene Seaside: https://vrchat.com/home/launch?worldId=wrld_8b709af3-4e49-4dec-9cbb-132b2234fe7f (昼夜のサイクルを特徴とする私の世界) 原文Readmeより デイ・ナイト・サイクルの島 https://vrchat.com/home/world/wrld_6c4f1572-a918-4e6d-b383-6b056111768f 特徴 デイナイトサイクル グローバルな時間同期 パフォーマンス最適化されたリアルタイムの照明とシャドウ クエストのサポート 時間帯と速度のコントロール(誰でもアクセス可能) パフォーマンスオプション ミラー シート カスタムウォーターシェーダー 動く草や木 時間帯によってダイナミックに変化するオーディオ 夜空を彩るキャンプファイヤーの光 葉っぱのパーティクル プロシージャルの雲 プロシージャルな星 私の目標は、居心地の良い場所を作ることと、昼夜のサイクルを追加して、より没入感のある世界にすることでした。昼夜のサイクルは、誰もが楽しめるようにしたかったので、マスターだけでなく、すべてのプレーヤーが操作できるようにしました。一方、時間帯とサイクルの速度はグローバルに同期しているので、夕日や星空をみんなで一緒に楽しむこともできます。ライティングとシャドウの最適化には、クエストを含むすべてのシステムで動作するよう、多くの時間を費やしました。そのため、ほとんどのパフォーマンス設定を削除し、メニューを簡素化することができました。メニューに残っているのは、サイクルの制御と、ビジュアルとBGMの一部を切り替えるための設定だけです。 使用したアセット・ツール うどんシャープ Amplifyシェーダーエディター Unity デフォルトのスカイボックス BFWシンプルダイナミッククラウド スタイリッシュな森林環境 昼夜サイクルコントローラのスクリプトは、こちらからダウンロードできます。デフォルトのスカイボックスはもちろん、プロシージャルなスカイボックスでも動作するはずです。 www.DeepL.com/Translator(無料版)で翻訳しました。