Garry's Mod
GShader Library
Se afișează 21-30 din 46 intrări
< 1  2  3  4  5 >
Actualizare: 22 aug. @ 9:36

Optimized shaderlib.DrawVertexScreenQuad(). 2x

Actualizare: 22 aug. @ 9:31

Optimized shaderlib.DrawVertexScreenQuad(). Thanks Vogel.

Actualizare: 22 aug. @ 8:10

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

Actualizare: 22 aug. @ 7:04

Fixed some bugs with shaderlib.DrawVertexScreenQuad()

Actualizare: 22 aug. @ 7:04

Fixed some bugs with shaderlib.DrawVertexScreenQuad()

Actualizare: 22 aug. @ 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]

Actualizare: 13 aug. @ 5:20

Added VManip support

Actualizare: 13 aug. @ 3:58

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

Actualizare: 8 aug. @ 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", }

Actualizare: 8 aug. @ 16:30

Removed some debug prints.