S&box Wiki

Revision Difference

Custom_Vertex_Weights#547940

<cat>Model.Advanced</cat>⤶ <title>Custom Vertex Weights</title>⤶ ⤶ # Introduction⤶ ⤶ **Custom Vertex Weights/Normals** come with the engine to provide support for mid-poly to low-poly⤶ to use weighted normals that were done in External 3D Software⤶ ⤶ ![Source 2](https://developer.valvesoftware.com/w/images/2/27/Source2-16px.png) **Source 2** accepts custom normals, but it is hidden away at the moment and is checked off.⤶ ⤶ <note>This will **uncompress** your vertex data with 32bit, **default** (compressed) is 8bit</note>⤶ ⤶ ## Custom Normals on your model⤶ ⤶ We need to add **RenderMeshMarkup** to the mesh you want to apply it to:⤶ <upload src="b0065/8dabd05117b3c07.png" size="6306" name="search.png" />⤶ Then we need to check **"Use Expensive Tangents"**:⤶ <upload src="b0065/8dabd059671a1be.png" size="11179" name="tangents.png" />⤶ Here is a before and after:⤶ <upload src="b0065/8dabd0ad2b404ed.png" size="334183" name="beforeafter.png" />⤶