Skip to content

Commit cd8bd25

Browse files
Bugfix 1358480: Fixed missing tooltip for "Tessellation Mode" (#5365)
* - fixed missing "Tessellation Mode" tooltip * - update changelog * - updated "Tessellation Mode" tooltip Co-authored-by: sebastienlagarde <[email protected]>
1 parent 5efb85a commit cd8bd25

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

com.unity.render-pipelines.high-definition/CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,6 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
367367
- Fixed the volumetric clouds having no control over the vertical wind (case 1354920).
368368
- Fixed case where the SceneView don't refresh when using LightExplorer with a running and Paused game (1354129)
369369
- Fixed wrong ordering in FrameSettings (Normalize Reflection Probes)
370-
- Fixed old ray tracing material conversion
371370

372371
### Changed
373372
- Changed Window/Render Pipeline/HD Render Pipeline Wizard to Window/Rendering/HDRP Wizard

com.unity.render-pipelines.high-definition/Editor/Material/UIBlocks/TessellationOptionsUIBlock.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ internal class Styles
1818
{
1919
public static GUIContent header { get; } = EditorGUIUtility.TrTextContent("Tessellation Options");
2020

21-
public static string tessellationModeStr = "Tessellation Mode";
2221
public static readonly string[] tessellationModeNames = Enum.GetNames(typeof(TessellationMode));
2322

2423
public static GUIContent tessellationText = new GUIContent("Tessellation Options", "Tessellation options");
@@ -32,7 +31,7 @@ internal class Styles
3231

3332
// Shader graph
3433
public static GUIContent tessellationEnableText = new GUIContent("Tessellation", "When enabled, HDRP active tessellation for this Material.");
35-
public static GUIContent tessellationModeText = new GUIContent("Tessellation Mode", "Specifies the method HDRP uses to tessellate the mesh.");
34+
public static GUIContent tessellationModeText = new GUIContent("Tessellation Mode", "Specifies the method HDRP uses to tessellate the mesh. None uses only the Displacement Map to tessellate the mesh. Phong tessellation applies additional Phong tessellation interpolation for smoother mesh.");
3635
}
3736

3837
// tessellation params
@@ -111,7 +110,7 @@ void TessellationModePopup()
111110
var mode = (TessellationMode)tessellationMode.floatValue;
112111

113112
EditorGUI.BeginChangeCheck();
114-
mode = (TessellationMode)EditorGUILayout.Popup(Styles.tessellationModeStr, (int)mode, Styles.tessellationModeNames);
113+
mode = (TessellationMode)EditorGUILayout.Popup(Styles.tessellationModeText, (int)mode, Styles.tessellationModeNames);
115114
if (EditorGUI.EndChangeCheck())
116115
{
117116
materialEditor.RegisterPropertyChangeUndo("Tessellation Mode");

0 commit comments

Comments
 (0)