Making models

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

  1. DrSquishy

    DrSquishy L7: Fancy Member

    Messages:
    435
    Positive Ratings:
    80
    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:
    931
    Positive Ratings:
    894
    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 L7: Fancy Member

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

    aa Tumbolisu  I ⌄ I 

    Messages:
    931
    Positive Ratings:
    894
    You write a material VMT file.
     
  5. Polymathic Polyphony

    Polymathic Polyphony L3: Member

    Messages:
    128
    Positive Ratings:
    100