Garry's Mod

Garry's Mod

GShader Library
Showing 21-30 of 88 entries
< 1  2  3  4  5 ... 9 >
Update: 21 Sep @ 1:25pm

- Fixed Physgun effect
- Added Normal two pass smooth (Guided filter)

Update: 15 Sep @ 6:07am

Fixed bugs

Update: 14 Sep @ 6:26am

Fixed linux errors.

Update: 14 Sep @ 6:24am

GShader library update
Several methods for obtaining _rt_Bump (RGB888) bumps from color shades in the current frame have been developed. Edge defect elimination methods from normal reconstruction methods have been applied:
- Simple: Bumps are obtained by just one texture sampling, which is suitable for integrated video cards, but has poor quality (4th screen).
- 3TAP: TAP methods are a balance between quality and performance (1st screen).
- 4TAP
- Accurate: The best method for bump reconstruction. It eliminates defects on the edges of geometry when creating bumps (3rd screen).

The choice of bump reconstruction type depends on the choice of normal reconstruction. That is, the type of reconstruction you choose for normals will be applied to bumps. Exception: The Improved method for creating bumps has not yet been developed. This method would be second in quality after the Accurate method. The Improved method will be developed in the future.

The bump render target will be useful in the future for creating:
- Screen Space Reflexions (SSR) - to achieve better reflections.
- Screen Space Directional Occlusion (SSDO) or Screen Space Global Illumination (SSGI) - to create more realistic lighting.
- If desired, you can also calculate lighting from dynamic light sources Paraboloid Point Light, if there are any brave souls.

I recommend converting _rt_Bump to tangent space using the _rt_NormalsTangents render target during shader development, or working in screen space.

Update: 13 Sep @ 10:08am

Added:

  • DXVK fog fix.
  • RESHADE, DGVOODOO, DXVK detection.
  • Video card detection if user have Reshade: function system.GetVendorID() and system.GetDriverName().

Update: 9 Sep @ 5:25pm

DXVK detect

Update: 9 Sep @ 5:18pm

DXVK detect

Update: 9 Sep @ 4:54pm

Linux fog patch x3
proton usually comes with dxvk which emulates 9.5

Update: 9 Sep @ 4:42pm

Linux fog patch x2

Update: 9 Sep @ 4:42pm

Linux fog patch x2