【無料】ObjectSkyboxシェーダー
- 無料版Digital0 JPY
- 支援版Digital300 JPY

オブジェクトに適用できるSkyboxシェーダー キューブマップ、6面テクスチャに対応しています。 メッシュに適用することでスカイボックスの中に入るような表現ができます。(球のメッシュに貼り付ける等) Culling設定でメッシュの裏表表示(Back/Front)を設定できます。Offにすると両面表示になります。 透過表示対応、cluster/VRChat向けシェーダー レイマーチングなどは使っていないため軽いです サンプルは以下のワールドで確認できます。 https://cluster.mu/w/6c5611b7-d7b3-4153-9bee-28cdbf247a96 ※無料版と支援版で中身は変わりません
RenderQueueについて
UnityのスカイボックスのRenderQueueが2500のため、デフォルトで2501に設定しています。 オブジェクトの前後で描画がおかしくなる場合はRenderQueueを適宜調整してください。 RenderQueueが小さいほど先に描画、RenderQueueが大きいほど描画順が後になります。
更新履歴
2024/7/15 v1.2a Animation機能追加 2021/6/17 v1.1 Reflectionモード追加 2021/5/16 v1.0 リリース
ライセンス
zlib license Copyright (c) 2021 ほびわん This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 3. This notice may not be removed or altered from any source distribution. いかなる場合も、作者はこのソフトウェアの使用から生じるいかなる損害についても責任を負いません。 以下の条件で、商用利用を含むあらゆる目的での利用および改変、再配布を許可します。 1. 著作者を偽るなど、出所を不当表示の禁止 (ただし、著作権の表示義務はありません) 2. ソースコード改変時はそのことを明示、元のソフトウェアと偽ってはなりません。 3. ソースコードの配布物からこの表示を削除および変更してはなりません。 ・NFTに関する事への使用を禁止