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
- Text cursor remains visible when hovering over Command Line Arguments scrollbar in Unity Hub
- UI Builder’s "Background" icons for Repeat Y/X, Position X/Y and Slice Type are low quality and blurry in the Inspector window
- “X” button in Editor version search filter is difficult to see when Unity Hub theme is set to Dark
- [Android] The y-value of Input.mouseScrollDelta is positive when scrolling in both directions in the Player
- Crash on TexturesD3D11Base::SetTexture when using DirectX11
Add comment