Search Issue Tracker
Fixed in 4.5.X
Votes
0
Found in
Issue ID
590120
Regression
No
ShaderLab documentation grammar and format items
Several formatting and grammar corrections could be made to this page:
Unity Manual > Graphics > Graphics Reference > Shader Reference > Advanced ShaderLab topics > Platform Specific Rendering Differences
In my Unity installation on my computer this document appears here:
file:///Applications/Unity/Unity.app/Contents/Documentation/html/en/Manual/SL-PlatformDifferences.html
A) There are formatting errors in the code snippets on this page. For example, this:
1. if UNITY_UV_STARTS_AT_TOP
was probably intended to appear like this:
# if UNITY_UV_STARTS_AT_TOP
B) This code:
StructuredBuffer<float4> myColors;
RWTexture2D<float4> myRandomWriteTexture;
was probably intended to appear like this:
StructuredBuffer <float4> myColors;
RWTexture2D <float4> myRandomWriteTexture;
C) I think this is missing a word:
"…some parts of surface shader compilation pipeline…"
Consider changing it to this:
"…some parts of the surface shader compilation pipeline…"
D) To fix missing word and singular versus plural grammar change this:
"If you’re HLSL features like … wrap it…"
to this:
"If you use HLSL features like … wrap them…"
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
Add comment