Version: 2022.3
言語: 日本語

LODFadeMode

enumeration

マニュアルに切り替える

説明

The LOD (level of detail) fade modes. Modes other than LODFadeMode.None will result in Unity calculating a blend factor for blending/interpolating between two neighbouring LODs and pass it to your shader.

変数

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 のためにクロスフェードモードが使用されます。