2021-09-09 20:42:29 -04:00

3.0 KiB

These properties control how Unity tessellates your Material's surface and smooths geometry.

Properties Description
Tessellation Mode Specifies whether HDRP applies Phong tessellation or not. Materials can use a displacement map to tessellate a mesh. To smooth the result of displacement, you can also apply Phong tessellation. The options for the property are:
None: HDRP only uses the displacement map to tessellate the mesh. If you do not assign a displacement map for this Material and select this option, HDRP does not apply tessellation.
Phong: HDRP applies Phong tessellation to the mesh. Phong tessellation applies vertex interpolation to make geometry smoother. If you assign a displacement map for this Material and select this option, HDRP applies smoothing to the displacement map.
Tessellation Factor The number of subdivisions that a triangle can have. If you want more subdivisions, set this to a higher value. More subdivisions increase the strength of the tessellation effect and further smooths the geometry. Note that higher values also increase the resource intensity of the tessellation effect. To maintain good performance on the Xbox One or PlayStation 4, do not use values greater than 15. This is because these platforms cannot consistently handle this many subdivisions.
Start Fade Distance The distance (in meters) to the Camera at which tessellation begins to fade out. HDRP fades tessellation out from this distance up until End Fade Distance, at which point it stops tessellating triangles altogether.
End Fade Distance The maximum distance (in meters) to the Camera at which HDRP tessellates triangles. HDRP does not tessellate triangles at distances that are further from the Camera further than this distance.
Triangle Size The screen space size (in pixels) at which HDRP should subdivide a triangle. For example, if you set this value to 100, HDRP subdivides triangles that take up 100 pixels. If you want HDRP to tessellate smaller triangles, and thus produce smoother geometry, set this to a lower value.
Note: increasing the number of triangles that this Shader tessellates makes the effect more resource intensive to process.
Shape Factor To smooth the Mesh surface, Phong tessellation spherizes the Mesh. This property represents the strength of the spherization effect. If you do not want HDRP to spherize the Mesh, set this to 0. If you want HDRP to fully spherize the Mesh, set this to 1.
This property only appears when you select Phong from Tessellation Mode.
Triangle Culling Epsilon Specifies how HDRP culls tessellated triangles. If you want to disable back-face culling, set this to -1.0. If you want more aggressive culling and better performance, set this to a higher value.