フェイクスポットライト Fake Spotlight
- 無料 Freeダウンロード商品¥ 0
- 無料と同じ Donateダウンロード商品¥ 300

グラブパスといくつかのステンシルを使ったシンプルなシェーダーで、スポットライトのような外観を作成します。これは実際の光ではないので、完全な暗闇の中では動作しません。その結果、スポットライトの明るさは、それが乗算的であるとして、その上に輝いているオブジェクトがどれだけ暗いか明るいかと相対的であるということです。 それは本当のスポットライトではないので、それは影を投げません、オブジェクトによって閉塞を取得しないか、またはその明るさが距離を介して落ちることがあります。また、簡単な色調整の設定もいくつか付属しています。ただし、本物のライトではないからといって、これでもグラブパスを使っているので、自由に使えばいいというわけではありません。これはスポットライトの代わりになるものではありませんが、私はこれをギミックとして使っています。 Just a simple shader using a grab pass and some stencils to create the appearance of a spotlight. As it is not a real light, it will not work in complete darkness, as it is just multiplying the intensity of whatever you see. A result of this is that the brightness of the spotlight is relative to how dark or bright the objects its shining on are, as it is multiplicative. Because it is not real spotlight, it does not cast shadows, does not get occluded by objects, or have its brightness fall off over distance. It also comes with a few simple color adjustment settings. However, just because it is not a real light doesn't mean you should use this freely, as it still uses a Grab Pass. This is not meant to be any sort of replacement for spotlights, I'm just using this for a gimmick, but maybe someone else might have a use for it.
シェーダの種類 Shader Types
- FakeSpotlight - 様々な効果のためにGrabpassを使用した通常バージョン - FakeSpotlightNoGrabPass - Grabpassを使用しないバージョンで、カラーティントのみを行います。 - FakeSpotlight - Regular version using grabpass for various effects - FakeSpotlightNoGrabPass - Version without grabpass, only has color tinting.
シェーダの設定 Shader settings
- Color Tint - 光の色を着色します。 - Light Angle Override - スポットライトの角度を上書きします。スポットライトメッシュを調整することは、スポットライトメッシュのバウンディングボックスに影響を与えないため、オクルージョンの問題を引き起こす可能性があることを覚えておいてください。 - Light Distance Override - スポットライトの距離をオーバーライドします。上記と同じことを覚えておいてください。 - Dark Light - 代わりに暗くなるように光を変更します。明るさが1の場合は真っ黒になります。 - Brightness - 光の強さ - Brightness Multiplier - 上記の強度の乗算器 - Hue - 色相シフト機能 - Saturation - 0 - 白黒、1 - 通常、2 - 倍の彩度 - Contrast - 0.5 - 1.5 コントラスト範囲 - White balance (Temperature) - 青/黄のカラーシフト - White balance (Tint) - ピンク/グリーンカラーシフト - Enable Mosaic - シンプルなモザイクフィルタ - Mosaic block size - モザイク用のブロックのサイズ/数 - Stencil ID - このシェーダは、スポットライト効果を得るためにステンシルを使用します。 - Color Tint - Tints the color of the light - Light Angle Override - Overrides the angle of the spotlight. Keep in mind adjusting the spotlight mesh should be a first choice as this won't affect the bounding box of the spotlight mesh and thus may cause occlusion issues. - Light Distance Override - Overrides the distance of the spotlight. Keep in mind the same as above. - Dark Light - Changes light so it darkens instead. Brightness of 1 is pitch black. - Brightness - The intensity of the light - Brightness Multiplier - Multiplier for the above intensity - Hue - Hue shift function - Saturation - 0 - black and white, 1 - normal, 2 - doubled saturation - Contrast - 0.5 - 1.5 Contrast range - White balance (Temperature) - blue/yellow color shift - White balance (Tint) - pink/green color shift - Enable Mosaic - Simple mosaic filter - Mosaic block size - Size/number of blocks for the mosaic - Stencil ID - This shader uses a stencil to achieve the spotlight effect, so just pick a number between 1-255 to reduce chance of conflict with other shaders using stencils
警告 Caveats
- 完全に暗いシーンでは動作しません。 - 設定が異なる場合、ライトを重ねることはできません。 - 一部の透過シェーダでは動作しません。 - シェーダーコードは少し効率が悪い - Does not work in completely dark scenes - Cannot overlap lights if they have different settings - Doesn't work on some transparent shaders - Shader code is a bit inefficient
Releases
16/05/2021 - v0.1.4 - シェーダーでToggleからToggleUIに変更し、使用するシェーダーキーワードを減らしました。 - Switched from Toggle to ToggleUI in shaders to reduce shader keywords used 28/03/2021 - v0.1.3a - 細かい修正 - Minor fixes 04/02/2021 - v0.1.3 グラブパスなしの簡易バリアントを追加して、色の着色だけで、光はオブジェクトを2倍の明るさにすることができるようになりました。 Added a simplified variant without a grab pass, with just color tinting and the light can only make objects twice as bright. 03/02/2012 - v0.1.2 シンプルなモザイクフィルターを追加 いくつかの小さな最適化 Added simple mosaic filter Some small optimizations 03/02/2012 - Release
License
MIT License Copyright (c) 2021 Temporal
Contact
https://twitter.com/acertainbluecat https://github.com/acertainbluecat/VRChat-odds-and-ends 私の日本語が下手なのですみません。