![blackpitvrc](https://booth.pximg.net/c/48x48/users/4226893/icon_image/b67f0ad8-9223-44da-b024-8d40fdce685e_base_resized.jpg)
【Unity / Free】他Shader対応型明度自動調整暗視ギミック(無料)
- Digital0 JPY
![【Unity / Free】他Shader対応型明度自動調整暗視ギミック(無料)](https://asset.booth.pm/assets/thumbnail_placeholder_c_300-09027647543d43ee525b2a7fe28d5ed5a3b6069d0c596c89b21776543ed1c0fe.png)
視野角60度の範囲の明度/画像を取得し、その平均値と最大/最小値を基準に自動で増幅率を調整する暗視Shaderです。 出力をMeshではなくCustomRenderTextureとしたことにより、Textureを使用する全Shaderにおいて暗視を使えるようになります。 また、増幅率調整にも1pixelのCustomRenderTextureを使用し、1frame内の計算回数の大幅削減を行いました。 暗視Shaderの根本にはさめのワークス様の 【Unity / Free】Night Vision Shader, IR Laser Particle(無料) URL:https://booth.pm/ja/items/4172526 を利用させていただきました。 利用規約 / Terms of Use 本ソフトウェアは、パッケージに組み込まれている各素材を含み、すべてMITライセンスのもとで公開されます。 ライセンスの利用条件に従い、他の商品に組み込んで販売、公開することができます。 詳細はライセンスの項目をご確認ください。 ----- This software is released under the MIT License. ライセンス / License MIT License Copyright (c) 2022 sumisame Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.