Version: 2020.1
言語: 日本語

LODFadeMode

enumeration

マニュアルに切り替える

説明

LOD フェードモード。LODFadeMode.None 以外のモードは Unity でふたつの近隣する LOD の間をブレンドや補完を計算してシェーダーに渡します。

変数

NoneLOD フェーディングがオフになっていることを示します。
CrossFadeカメラまでの距離が各 LOD の LOD.fadeTransitionWidth で指定した範囲で小さくなる場合、現在の LOD と次の LOD の間をクロスフェードのスタイルでブレンディングを実行します。
SpeedTreeBy specifying this mode, your LODGroup will perform a SpeedTree-style LOD fading scheme: * For all the mesh LODs other than the last (most crude) mesh LOD, the fade factor is calculated as the percentage of the object's current screen height, compared to the whole range of the LOD. It is 1, if the camera is right at the position where the previous LOD switches out and 0, if the next LOD is just about to switch in. * 最後の Mesh LOD と Billboard LOD のためにクロスフェードモードが使用されます。