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"
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
- Standalone Player crashes with "TDerived GetOrLoad<TDerived>() where TDerived : T" when IL2CPP Code generation is set to "Faster (smaller) Builds"
- IndexOutOfRangeException and InvalidOperationException when logging XML string
- Script missing in "Assets/Settings/Mobile_Renderer/GlobalVolumeFeature" of "com.unity.template.urp-blank" template
- “Font Asset Creator - Error Code [Invalid_File_Structure]…“ error is logged when generating Font Assets from fonts with meta files from previous Editor versions
- Input.mousePosition returns (NaN, NaN, 0.00) when Scene view is opened
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.