S&box Wiki

Revision Difference

source_1_assets_porting#548350

<cat>Material.Intro</cat>⤶ <title>Source 1 Material Porting</title>⤶ ⤶ <warning>While you can do this you probably shouldn't. But if you're porting from your own Source 1 projects you should be fine. Though remaking the materials to better suit Physically Based Rendering (PBR) would still be a better route.</warning>⤶ ⤶ #To convert and import the textures:⤶ ⤶ + [source1import](https://github.com/kristiker/source1import/releases/)⤶ ⤶ + the gameinfo.txt from the source 1 game your importing from. ⤶ ⤶ #To convert the materials⤶ ⤶ ###Step 1⤶ ⤶ + place the gameinfo.txt in in a folder with your materials that you will be importing.⤶ ⤶ <upload src="a768a/8da73da8e2cbd34.png" size="11106" name="explorer_s31lyKDE1D.png" />⤶ ⤶ ###Step 2⤶ ⤶ + Click on the three `...` to the right of "import game" Browse to the materials that you will be importing.⤶ ⤶ + For "export game" browse to your addon dir.⤶ ⤶ + Click `Import Textures` & `Import Materials`.⤶ ⤶ + Click on go.⤶ ⤶ <upload src="a768a/8da73db3dcebc83.png" size="62719" name="source1import_ubGRDq8dPp.png" />⤶ ⤶ # Done⤶ ⤶ If done correctly, the materials should show up in the asset browser⤶ ![Asset Browser](https://europe1.discourse-cdn.com/business20/uploads/facepunch1/original/3X/a/e/aec7a1e2d7565f6db875faf084c72dd93e866459.jpeg)⤶ ⤶ cs_assault materials ported from Counter-Strike: Source.⤶ ⤶ # Credits⤶ Original guide made by user *[noonforme](https://forum.facepunch.com/u/noonforme)* can be found [here](https://forum.facepunch.com/t/texture-and-material-porting-to-source-2/242845) on the Facepunch forums.