Ko/VertexLitGeneric Textures On Brush Faces
문제점
그들의 쉐이더로 VertexLitGeneric를 사용하는 메테리얼 들을 브러쉬 표면들에 lightmap이 필요한 메테리얼이 적용이 되었을 때 비정상적으로 렌더링 될 것입니다. 만약 lightmap들이 반짝반짝거린다면, 플레이어의 방향에 따라 밝기가 바뀐다면, 혹은 표면이 아예 검게 나온다면, 물체의 정점이 메테리얼을 마치 사용을 했었던 것처럼 비춥니다. Hammer 내부 models/
경로에 기재된 메테리얼들은 모두 정점이 비춥니다, 그리고 표면에 사용하는 용도가 아닙니다, 하지만 그들은 쉐이더와 함께 사용해야 하는 텍스쳐일것입니다. decals/
경로의 것들도 정점이 비추는 메테리얼들을 포함하고 있습니다, 그리고 이것 또한 지형의 표면에 사용하는것은 아닙니다.
Fix
The easiest fix is to look for equivalent materials with the same name that are not in these directories. These materials will render correctly as they use the correct shader.
Another approach is to write a new VMT that changes the shader to LightmappedGeneric, the .vmt will need to be copied out of the GCF file first and given a new name. Further instructions on writing and editing a .vmt can be found in the Material tutorial, the .vtf is already included with the game so the first part of the tutorial may be skipped.
