Making models

Discussion in 'Off Topic' started by DrSquishy, Aug 11, 2017.

  1. DrSquishy

    DrSquishy L8: Fancy Shmancy Member

    Messages:
    560
    Positive Ratings:
    134
    I'm making a model in blender for a tf2 item, but I have no idea how to actually make a reflective, shiny texture for the UV map. How can I do this?
     
  2. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    947
    Positive Ratings:
    930
    https://developer.valvesoftware.com/wiki/Cubemaps

    https://developer.valvesoftware.com/wiki/$envmap

    https://developer.valvesoftware.com/wiki/$envmapmask

    You most likely want to use the closest cubemap entity for reflections, but you can also use handmade cubemaps from tf2_textures_dir.vpk\materials\cubemaps or make your own. However, making your own cubemaps is not an easy process.

    $envmap env_cubemap
    Use the closest cubemap entity

    $envmap [texture filepath]
    Use a handmade cubemap texture.

    $envmapmask [texture filepath]
    Use a black and white image to tell the material which parts are reflective and which ones aren't.
    White = Fully Reflective
    Black = No Reflection

    The links provided show you more parameters as well as explaining the basic process of making a cubemap VTF.
     
  3. DrSquishy

    DrSquishy L8: Fancy Shmancy Member

    Messages:
    560
    Positive Ratings:
    134
    How would I apply the vtf to the model though?
     
  4. Tumbolisu

    aa Tumbolisu  I ⌄ I 

    Messages:
    947
    Positive Ratings:
    930
    You write a material VMT file.
     
  5. Narpas

    aa Narpas Failing at Scaling

    Messages:
    194
    Positive Ratings:
    175