기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


Terrain Lit shader material Inspector window reference for URP

Reference for the Terrain Lit Shader.
읽는 시간 1분최근 업데이트: 21일 전

Explore the properties and settings you can use to customize the default Terrain Lit shader in the Universal Render Pipeline (URP).
URP uses the Terrain Lit shader for Terrain. This shader is a simpler version of the Lit shader.

Property

Sub-property

Description

Enable Height-based BlendSpecifies whether URP renders only the Terrain Layer with the greatest height value for a particular pixel. URP takes the height values from the blue channel of the Mask Map of the Terrain Layer.

If you disable this property, URP blends the Terrain Layers based on the weights in the splatmap textures, and adds the Opacity as Density parameter to the Terrain Layer Inspector window.
Height TransitionSets the size in world units of the smooth transition area between Terrain Layers.
Enable Per-pixel NormalSamples the normal map that Unity generates from the terrain heightmap, for each pixel. Enabling this parameter provides high-resolution mesh normals, even if the mesh is low resolution.

Note: This parameter works only if you enable Draw Instanced in the Terrain Settings.