From Destinypedia, the Destiny wiki
Weapon Crafting, referred to in universe as Shaping is a feature introduced with The Witch Queen expansion which allows players to make, upgrade, and customize their own weapons. It can be accessed by interacting with the Relic found in The Enclave in Savathûn's Throne World near the left-hand side of the map. The Relic where weapon crafting is performed is found behind large black doors down the steps in The Enclave.
Weapon crafting is a seven step process. As the player levels a weapon, they can return to the Relic to modify their weapon with new options.
Deepsight Resonance is a new weapon feature also added with the Witch Queen expansion. Weapons will occasionally drop with Deepsight Resonance, marked by red borders around the icon of the gun. In order to extract the resonance, players need to use the gun in activities and get kills with it which will fill up the bar labeled Attunement Progress. After this bar is filled, players can extract the resonance from within the gun to gain 300 Resonant Elements. If the gun is able to be crafted, extracting the resonance will also unlock a portion of the pattern for that weapon.
Patterns are needed to craft weapons and are unlocked by extracting Deepsight Resonance from a certain amount of the same gun. For example, in order to craft an Austringer, you will need to extract the resonance of five Deepsight Austringers in order to unlock the pattern. Your progress for patterns can be seen by going to Patterns & Catalysts under the Triumphs page. Some weapons require more Deepsight Resonance extractions than others in order to unlock their pattern.
Alloys are a random material drop from dismantled Legendary weapons. These alloys are needed to select between different Intrinsic Traits. Resonant Alloys are needed to craft most weapons, while Harmonic Alloys are needed to craft Raid weapons and drop by dismantling craftable raid weapons.
Ascendant Alloys are needed to craft weapons with Enhanced Perks. They can be obtained from Master Rahool (once per week), Nightmare Containment, the weekly Witch Queen campaign mission, the Master version of The Wellspring, as well as from Banshee-44's or the Seasonal Vendor's track.
Weapons can have their perks changed and upgraded by going to the Reshape tab when interacting with the Relic. Note that you cannot reshape weapons that are locked and/or that are currently equipped.
Newly crafted weapons will only start off with a handful of perks and intrinsic traits. In order to unlock all the available perks from your weapon, you must level up the weapon by getting kills or completing activities with the weapon. You can track your progress by checking the "Weapon Level" progress bar beneath the weapon's Power Level. Your perk options will increase per level and all perks and their enhanced versions will be unlocked by level 16.
When a weapon reaches level 7, it can be reshaped to have an enhanced intrinsic trait, giving it bonuses like a Legendary weapon's Masterwork. When a weapon reaches level 20, this intrinsic trait will have its value increased. Intrinsic traits cost Resonant Alloys, or Harmonic Alloys in the case of Raid weapons.
Enhanced Perks are upgraded perks that are slightly better than their non-enhanced counterparts. In order to reshape a weapon with Enhanced Perks, you will need Ascendant Alloys to do so.
A weapon with an enhanced intrinsic trait and an two enhanced perks will gain a golden border, like fully upgraded Masterwork weapons.
Mementos are rare drops that can be obtained from the core playlists activities Crucible, Gambit, and Strikes as well as Nightfalls and Trials of Osiris. Applying a Memento to your weapon unlocks a kill tracker, weapon title, and unique shader. Mementos can also be upgraded, unlocking the aforementioned perks with more leveling.
Some Exotic weapons can be crafted. Exotics will not have enhanced perks, but will unlock their Exotic catalyst upon reaching Level 10. Mementos cannot be inserted in Exotic weapons.
Below is a list of every craftable weapon. ¥ indicates an Exotic weapon.