Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Want more efficiency in your development work? Sign up to receive weekly tech and creative know-how from Unity experts.
    Dismiss Notice
  4. Nominations have been announced for this years Unity Awards. Celebrate the wonderful projects made by your peers this year and get voting! Vote here!
    Dismiss Notice
  5. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  6. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

[RELEASED] M3 me-SMG (SciFi Sub Machine Gun)

Discussion in 'Assets and Asset Store' started by MACHIN3, Nov 11, 2017.

  1. MACHIN3

    MACHIN3

    Joined:
    May 25, 2016
    Posts:
    54

    M3 e-HG (ScFi Hand Gun)


    The M3 me-SMG is a modular energy sub machine gun from MACHIN3 Weapon Manufacturing.

    It was designed as a compact but powerful firearm for special forces, vehicle crews, operators of crew-served weapons and support personnel, special forces.<br>

    Offering semi- and full automatic firing modes, the gun can be used in a variety of strategic and combat scenarios, making the gun an excellent fit for a huge variety of missions.<br>
    Through its extendable rail system, the weapon's capabilities can be broadened and enhanced through combination of available accessories, such as the FLX-10 multi-spectrum flashlight for low visibility conditions or Ashiyama Industries' ZX-12 scope for precision work.

    ---​





    This asset is quite detailed and created with an eye towards current and next-generation needs in the gaming and real-time film spaces.

    This asset is built using deferred mesh decals and REQUIRES deferred rendering. It will not work in forward rendering!




    PARTS

    The Asset comes in 7 main parts:
    • the sub machine gun
    • a scope
    • a flashlight
    • a reflex sight
    • a horizontal foregrip
    • a mystery accessory 1, sight/camera?
    • a mystery accessory 2, sensor/tracker?

    THEMES - MATERIALS - SHADERS

    8 Material themes are supplied via prefabs.
    Additional themes can be created easily by tweaking various parameters in real time and at runtime and by assigning materials to areas of the asset.

    Material Weathering is achieved using low-res tileable grunge maps, masked by medium resolution AO and Curvature bakes.

    Surface Shader
    • PBR, material color, roughness and metalness
    • built in ASE
    • grunge (roughness variations)
    • edge wear on decals and geometry and vertex color based
    • dirt on decals, geometry and vertex color based
    • custom inspector

    Decal Shader
    • PBR, decal subset color, roughness and metalness
    • decal AO
    • simple, curvature map based wear
    • optional PBR slots for finer control using textured decals
    • custom inspector

    Customization
    demonstrated using a shader ball





    The M3 me-SMG is ~65cm in length.

    Polygon- and Object Count
    • SMG: 12499 tris, 18 objects
    • SMG with rails: 18110 tris, 23 objects
    • Scope: 3617 tris, 5 objects
    • Flashlight: 2486 tris, 4 objects
    • Reflex Sight: 1520 tris, 2 objects
    • Foregrip: 1730 tris, 4 objects
    • mystery accessory 1: 1628 tris, 2 objects
    • mystery accessory 2: 1500 tris, 4 objects

    Note, the polygon count includes the decal meshes, while the object count does not

    Textures
    • SMG: 2 x 1024px + 1x 512 decal atlas textures, 1 x 1024px surface mask
    • Accessories: 2 x 1024px + 1x 512 decal atlas textures, 1 x 512 surface mask
    • 4 x 256px tileable grunge maps (reusable)
    • 9 x 128px tileable detail maps (reusable)
    • PNG format



    All images have been rendered in Unity3D using:
    • Post-processing Stack v1
    • Amplify Bloom


    Objects with Surface Shaders + Decal Meshes with Decal Shaders

    Objects with Surface Shaders (without Decals)

    Objects (without Surface Shaders and without Decals)















    The MACHIN3 listens.
     
    Last edited: Feb 19, 2018
  2. MACHIN3

    MACHIN3

    Joined:
    May 25, 2016
    Posts:
    54
  3. Danirey

    Danirey

    Joined:
    Apr 3, 2013
    Posts:
    499
    Very cool. Good Job!
     
  4. hopeful

    hopeful

    Joined:
    Nov 20, 2013
    Posts:
    4,459
    Very nice! Going to be watching all your threads now. :)
     
  5. Mister-D

    Mister-D

    Joined:
    Dec 6, 2011
    Posts:
    1,398
    looks cool, good work
    animate them with fps hands to increase sales ;)
     
    SirTwistedStorm likes this.
  6. MACHIN3

    MACHIN3

    Joined:
    May 25, 2016
    Posts:
    54
    I was considering this, but assumed people would have some kind of fps framework in place. I wasn't sure how animated hands provided by me would fit into this. I'll look into it, thanks for the suggestion.
     
  7. MACHIN3

    MACHIN3

    Joined:
    May 25, 2016
    Posts:
    54
    This Asset was recently updated to version 1.1 here's the changelog.
    • ported Surface Shader to Amplify Shader Editor
    • the 3 previously separate surface shaders - plain, textured normal and textured full - are now a single M3_surface_textured shader
    • added custom inspector for M3_surface_textured shader
    • removed need for plain decal shader in favour of extended textured decal shader, which can now be used with empty color and metalness/smoothness maps
    • added custom inspectors for decal shaders
    • fixed info decal transparency blending issue on metallic materials
    • updated info decal shader to use opacity instead of transparency
    The key improvements are ASE support for the surface shader and custom inspectors for both - surface and decal shaders, making using the materials based on these shaders much simpler.
    Also, all surface materials now use the same shader, which has optional PBR texture slots.
    The previous "Material Customization via Decal and Surface Shaders" video is now outdated and was replaced with a new one:

     
    hopeful likes this.