Displacement luxel density

From Valve Developer Community
Jump to navigation Jump to search
Underlinked - Logo.png
This article needs more Wikipedia icon links to other articles to help Wikipedia icon integrate it into the encyclopedia. Please help improve this article by adding links Wikipedia icon that are relevant to the context within the existing text.
January 2024
English (en)Translate (Translate)

This is not a bug. Displacements have a maximum luxel density based on the size of the displacement. Each displacement is limited to lightmap resolutions of 124x124. If you make very large displacements, you'll find that you cannot make small luxel sizes on the displacement. One solution is to split any large displacements into multiple smaller ones and then sew them together.

See Displacement for more information on how to create, edit, clip and sew displacements.

Note.pngNote:A similar (less restrictive) limitation technically exists for brushes as well. Brush surfaces can only have have up to 31x31 luxels per face; VBSP normally subdivides brush faces as needed to fit this restriction unless the material has %CompileNoChop, but it is unable to do this for displacements.