Garry's Mod

Garry's Mod

57 ratings
Enhanced Garry's Mod Materials (Beta)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Effects
Addon Tags: Realism
File Size
Posted
Updated
136.434 KB
11 Sep, 2023 @ 12:33pm
24 Jun, 2024 @ 6:25am
22 Change Notes ( view )

Subscribe to download
Enhanced Garry's Mod Materials (Beta)

In 2 collections by somefoolouthere
SFOH's Creations
96 items
Safety Uploads
6 items
Description
Edits to base Garry's Mod 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. 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 many materials. Most materials using cubemap reflections also got an upgrade, now making use of phong and fresnel for the best possible reflections. World textures also now make use of the new phong support. Additionally, some materials have gotten fixes, such as the Dav0r button not having phong, and the star balloon's rimlight pulsing.

It should be compatible with many simple 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 null-bumpmap texture, a flat normal map heavily used in this addon in order to add phong shading to many materials, has also been optimized.

The map in screenshots 1-10 is gm_genesis.

Key Features
  • Phong and rimlight added to many materials that previously didn't have it where possible, even on 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.
  • Rimlight on playermodels no longer copies the color.
  • Fresnel added to most materials using cubemaps (reflection appears stronger with viewing angle).
  • Removed saturation and contrast modifiers from cubemap reflections, as it's not physically accurate.
  • Various fixes for some materials. Some even now allow their model to cast flashlight shadows!
  • Consistent phong fresnel ranges. No more weird phong behavior!
  • Workaround for some materials with severe aliasing issues. 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.

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.

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

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

See Also
Enhanced Half-Life 2 Materials

replacement realism realistic
3 Comments
somefoolouthere  [author] 21 Sep, 2023 @ 6:00pm 
No. A separate version without rimlight will be too much work, especially considering the amount of changes that this addon has been going through lately and that are planned. I use rimlight for fake ambient reflections, since phong is mostly direct lighting only. I think it makes rough reflections look more complete.
Donowa 21 Sep, 2023 @ 1:05pm 
version w/o rimlight? imo rimlight is a very non-pbr concept and i think it only fits the style in games like tf2
nitrogasoline 17 Sep, 2023 @ 8:51pm 
pretty cool