DOTA2 GLSL Viewport Shader

Had a go at emulating the DOTA 2 shader in the viewport, it’s geared towards content creation rather than production so lacks things like shadows. However it does include the following:

  • half lambert and phong shading
  • light, specular and fresnel colour warp
  • mask support
  • detail mask blending modes
  • ambient lighting

The shader is here, models and textures can be downloaded from Valve’s workshop resource page.

Couple of test renders…

Puck, which uses a specular warp and fresnel colour warp effect.
[ATTACH=CONFIG]443970[/ATTACH]

Nyx Assassin, which uses a specular warp.
[ATTACH=CONFIG]443971[/ATTACH]

And a screenshot, viewport compared with render.

[ATTACH=CONFIG]443972[/ATTACH]