Garry's Mod
GShader Library
Εμφάνιση 71-80 από 94 καταχωρίσεις
< 1 ... 6  7  8  9  10 >
Ενημέρωση: 22 Αυγ στις 8:10

Chaging hook from CalcView to RenderScene for shaderlib.DrawVertexScreenQuad().

Ενημέρωση: 22 Αυγ στις 7:04

Fixed some bugs with shaderlib.DrawVertexScreenQuad()

Ενημέρωση: 22 Αυγ στις 7:04

Fixed some bugs with shaderlib.DrawVertexScreenQuad()

Ενημέρωση: 22 Αυγ στις 5:57

Added new function with vertex data input support:
shaderlib.DrawVertexScreenQuad()
U can input vertex data using render.SetModelLighting(0, x, y, z),etc.
More info here:
Example 6[github.com]

Ενημέρωση: 13 Αυγ στις 5:20

Added VManip support

Ενημέρωση: 13 Αυγ στις 3:58

Fixed improved normals reconstruction. Added accurate normal reconstruction: https://atyuwen.github.io/posts/normal-reconstruction/

Ενημέρωση: 8 Αυγ στις 17:01

Added new param: Hook
r_shaderlib_hook 0

The hook where the reconstruction will take place. The best choice is PreDrawTranslucentRenderables. But if you have a black screen, you can try to choose another one, but in this case ghosting is possible.

0-3

local vales_hook = { [0] = "PreDrawTranslucentRenderables", [1] = "PostDrawOpaqueRenderables", [2] = "PreDrawEffects", [3] = "RenderScreenspaceEffects", }

Ενημέρωση: 8 Αυγ στις 16:30

Removed some debug prints.

Ενημέρωση: 8 Αυγ στις 16:23

Added setting to turn MRT on/off. By default - on.
r_shaderlib_mrt 1

MRT may not work for some reason on some systems. The reason is not yet understood. If Debug mode displays a black image, try disabling MRT.

Perhaps certain video cards (certain manufacturers) have a specific operation that does not allow using MRT in gmod.

Ενημέρωση: 6 Αυγ στις 12:26

Added Enhanced Camera 2 support