Garry's Mod

Garry's Mod

135 ratings
Enhanced Half-Life 2 Materials (Beta)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Realism
File Size
Posted
Updated
197.931 KB
11 Sep, 2023 @ 12:50pm
28 Jun @ 7:21am
22 Change Notes ( view )

Subscribe to download
Enhanced Half-Life 2 Materials (Beta)

In 2 collections by somefoolouthere
SFOH's Creations
91 items
Safety Uploads
6 items
Description
Edits to base Half-Life 2 materials to be more physically accurate and look prettier.

This addon is heavily work-in-progress; everything is subject to change! Screenshots may be outdated. There are tons of materials that I haven't done yet. This addon wasn't intended to be uploaded early.
If you installed this while Garry's Mod is running, it's highly recommended to restart your game.

Phong and rimlight has been added to some materials. A few materials using cubemap reflections also got an upgrade, now making use of phong and fresnel for the best possible reflections. Some world textures also now make use of the new phong support. Additionally, some materials can now be seen from both sides, instead of becoming invisible when viewing from the other side. This can make or break the appearance of some props. It fixes the appearance of some props, such as the trainstation trash can or transparent objects, but props with missing sides will now appear as if they were hollow.

It should be compatible with many reskins, as long as they don't replace the VMTs.

Keep in mind that materials now make heavier use of shaders, so this can decrease graphics performance, especially on weaker hardware.

The map in some screenshots is gm_genesis.

Key Features
  • Phong and rimlight added to materials that previously didn't have it where possible, including world textures.
  • Materials using cubemap reflections now have phong to make reflections a little more dynamic where possible.
  • Rimlight on all materials using phong for fake diffuse reflections.
  • Fresnel added to some materials using cubemaps (reflection appears stronger with viewing angle).
  • Removed saturation and contrast modifiers from cubemap reflections, as it's not physically accurate.
  • Many materials no longer have culling. You will notice that a lot of the HL2 models will have their faces able to be seen from both sides now.
  • Workaround for some materials with severe aliasing issues, especially world textures. This requires MSAA set to at least 2x in-game and antialiasing transparency set to supersampling in your graphics control panel. It may cause significantly increased GPU utilization.
  • Displacements can be seen from both sides now for visibility purposes.

Unneeded Addons
When using this addon, the following addons aren't needed and will conflict, as this addon applies the same changes:

Known Issues
  • Materials using $envmapmask don't have phong (won't fix).
  • Will conflict with other addons replacing VMTs that this addon replaces. To make this addon take priority, unsubscribe from the conflicting addon and resubscribe to it.
  • Some textures are black for some people for an unknown reason.
  • Materials using $alphatest are invisible when using mat_fullbright 2.

Planned
  • Use a more accurate fake PBR method.
  • Enhance more materials.

GitHub
somefoolouthere/hl2-enhanced-materials[github.com]

See Also
Enhanced Garry's Mod Materials

replacement realism realistic
17 Comments
somefoolouthere  [author] 17 Mar @ 7:32am 
For world textures, yes, since upscaling world textures requires editing the VMTs to lower their texture size to not be enlarged. For models, it will if it has its own VMT replacements.
Unami Fox 16 Mar @ 8:01pm 
Does this addon conflict with addons that upscale the textures?
somefoolouthere  [author] 16 Jan @ 7:35am 
I don't know what could be causing this issue, since everything works fine for me.
Akis_02 16 Jan @ 7:32am 
yes, its consistant
somefoolouthere  [author] 16 Jan @ 7:28am 
Did you try restarting your game after installing it?
Akis_02 16 Jan @ 12:59am 
the skybox models become black after installing this mod :P
al7sayan 22 Dec, 2023 @ 3:45am 
i just wanna mention some of the materials (mainly the metal closet ones) do break with Improved Default Cubemap enabled
Кkreλtured 9 Nov, 2023 @ 1:51am 
@Flashyface
I respect your enthusiasm, but unfortunately, many have asked and many have failed to get Rubat to backport several long-needed shaders. It's been this way for a while now.
Mans is devoted to minute Lua fixes, i guess.
somefoolouthere  [author] 1 Nov, 2023 @ 8:19am 
@milan_016 Which textures?
Flashyface 1 Nov, 2023 @ 6:39am 
@КREλTURE ah right, cause shaders from other source games that arent on source 2013 have exclusive shaders, ig you COULD request rubat to backport some of the Alien Swarm shaders cause mapbase backported them iirc but that would also require programming dx8 versions, that or killing off dx8 support but it would also be too much effort for just new effects.
im just going stuff that ive heard from people im not a professional source guy just one who would like source games to look more polished ig.