Home Technical Talk

DOTA 2 Shader for Blender

TurboHusky
polycounter lvl 10
Offline / Send Message
TurboHusky polycounter lvl 10

So I had a go at making the DOTA 2 Hero shader in Blender a few years ago, turns out it was pretty crap.

Just for fun I tried again. This one shares input parameters with Valve's Workshop Tools, and is a much more faithful reproduction. Shadows are still missing, I've not decided how best to tackle those in Blender yet.

Shader is here: https://blendswap.com/blend/17904

Guide is here: https://steamcommunity.com/sharedfiles/filedetails/?id=716302087

Replies

  • quockhanhlk
    Offline / Send Message
    quockhanhlk polycounter lvl 11

    Not at my pc right now but looking at the screenshot its freaking almost 1:1. Will check this out asap, thank you so much for sharing!

  • quockhanhlk
    Offline / Send Message
    quockhanhlk polycounter lvl 11

    Hi, i've tried this out but i cant get the blender shader to match ingame, since i dont know how to get the shader parameters from the material editor, doesnt exposed those and i dont know how to get it to. Would love to know how to do that !

    Also small request, can you make it so that custom cubemap would only need tobe input just once? Some characters use custom cubemap, but the current shader set up makes it so that i have to load the custom cubemap 6 times on each material - quite cumbersome.

    Edit: would also love to have a look at your blend file of the nyx example above !

  • TurboHusky
    Offline / Send Message
    TurboHusky polycounter lvl 10

    Yep. If you don't match those settings things can start to look way off...

    GCFScape and Source 2 Resource Viewer are your friends for finding material settings. You can extract materials with GCFScape and examine them in VRF.

    https://valvedev.info/tools/gcfscape/

    https://vrf.steamdb.info/

    To avoid reloading the cubemap 6 times hit N to open the Node properties, and load a new image for that texture. That will update all 6 instances at once. You can change the name of the texture as well, it doesn't have to match the source filename.


  • quockhanhlk
    Offline / Send Message
    quockhanhlk polycounter lvl 11

    Thank you for the reply, i didnt know the n panel could do that. Will update with progress !

Sign In or Register to comment.