Search Issue Tracker
Fixed in 5.0.X
Votes
0
Found in
5.0.0b3
Issue ID
631685
Regression
No
More info about fading in LODGroup documentation
Location: file:///Applications/Unity/Unity.app/Contents/Documentation/html/en/Manual/class-LODGroup.html
Text: "The choice of Fade Mode determines how one LOD level is blended into the next. The value calculated by the LOD system is passed as a parameter to the shader that renders the mesh."
Should include info that Yao posted in Alpha group (at least a part of that info): LOD fading currently provides the "blend factor" in unity_LODFade.x. It's actually a float2 uniform and its .y component is the same value in .x but only be quantized into 16 levels.
Further info from his posting (might also be relevant for documentation): But LOD won't automatically get switched smoothly. It's up to you to implement a smooth transition algorithm and Unity will provide a proper blend factor according to the camera settings (e.g. distance) for you to use in your shader. Speedtree shader is one sample to check out (SpeedTree stores two positions in one vertex: one is the model-space vertex position and the other is the position of the same vertex in the next LOD. It uses unity_LODFade.x to lerp between the two positions to achieve smooth transition effect).
See also alpha group: https://groups.google.com/d/topic/unity-alpha-testing/yLVZxEq0vKs/discussion
While you're at it - there's also a typo in there. A "u" is missing in "updates": "The Lightmap Scale button pdates the Scale in Lightmap property"
Comments (1)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Unity CIL Linker fails on Player build when persistent listeners have "<" and ">" in their XML attribute names
- ”Lighting data asset ‘LightingData’ is incompatible with the current Unity version…” warnings are thrown when saving Indoors (URP) and Outdoors (URP) Scenes as Scene Templates
- [iOS] The screen blinks when transitioning from custom to Unity splash screen
- [macOS] ”Ignoring depth surface load action as it is memoryless” warnings are thrown when taking Game View Snapshot
- UI Builder Inspector scrolls back up when changes on an expanded but not fully displayed Inspector tab are saved
PATENAUDE
Feb 11, 2015 04:52
'Fixed in future release'?... When might the 'future' be?:)
I would REALLY like better documentation on the new LOD functionality, as the new fade settings look promising but are very-poorly documented + essentially unusable [by me] currently because of this.