Displacement luxel density: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(Bad surface extents can be caused by displacement luxel density. If this happens, fix your disp's rotation)
 
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{{Underlinked|date=January 2024}}
{{lang|Displacement Luxel Density}}


My name is browne
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.
i am a reatrd
redart
stuppid man


i think i am cool but am really gay man
See [[Displacement]] for more information on how to create, edit, clip and sew displacements.


fuck you dickface
{{note|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 {{cmd|%CompileNoChop}}, but it is unable to do this for displacements.}}
{{important|Since lightmap [[UV]]s are dependent upon regular diffuse texture UVs, ''rotating a texture will result in even less lightmap resolution being available''! Unlike with luxel scaling, Hammer does not account for this, but VBSP will fail with "[[Bad surface extents]]".}}


reply to me if you have a ball
[[Category:Hammer]]
 
[[Category:Level Design FAQ]]
dolelover@googlemail.com
send that email address everywhere
as many messages as possible
 
you fucking waaste of space gays

Latest revision as of 19:10, 4 April 2025

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.
Icon-Important.pngImportant:Since lightmap UVs are dependent upon regular diffuse texture UVs, rotating a texture will result in even less lightmap resolution being available! Unlike with luxel scaling, Hammer does not account for this, but VBSP will fail with "Bad surface extents".