Garry's Mod

Garry's Mod

Cascaded Shadow Mapping (CSM Shader)
正在显示第 21 - 30 项,共 45 项条目
< 1  2  3  4  5 >
更新于:9 月 15 日 上午 9:50

Fixed some lua errors

更新于:9 月 15 日 上午 9:39

Fixed some lua errors

更新于:9 月 15 日 上午 9:13

Fixed shdowmap blur.

更新于:9 月 15 日 上午 9:11

Removed trigger from shadowmap. Added notify about MSAA>

更新于:9 月 15 日 上午 8:30

Render local player disabled on default.

更新于:9 月 15 日 上午 8:29

Fixed some sun leaks and lua errors.

更新于:9 月 11 日 下午 4:24

r_csm_near min param 25 -> 20

更新于:9 月 11 日 下午 3:48

CSM Update:
- Completely custom render for shadow maps. This allowed to separate the 3D skybox render from the play area render. This also partially solved the issue of light leaks, but not completely. At least the shadow map is now fine. This will help avoid future problems with adaptation of CSM and other addons, since CSM does not use GMOD's renderer when creating shadow maps.
- Water is now rendered in shadow maps and is not a hole as it was before.
- Added shadows from 3d skybox. New parameter.
- Fixed some flickering when changing the sun angle and recalculating Near.
- The first cascade now hits the eye more often.
-The range of some parameters has been increased - exponentials.
- Returned CSM icon.
- Fixed a bug where CSM didn't work on very small maps.

TODO:
- Treesway support for dynamic entities. (For static ones it won't be, as it's too expensive in terms of performance).
- basetexturetransform support.
- It might be necessary to optimize the 3D skybox rendering.
- It makes sense to optimize the process of parsing .bsp and assembling meshes to reduce loading time and geometry creation.
- Light leaks remain. This time not because of holes in the map, but because of a less than ideal shadow approximation algorithm.
- The crashes related to changing the sun's direction are not yet clear. Perhaps the shadow maps need to be updated asynchronously.
- There might be a parameter: Which cascades to render through a frame, so that the first cascade is rendered without delays, and the rest through a frame, to have a balance of quality and performance./
- Perhaps there will be a division of map layers into rendering zones. For example, maps for S.T.A.L.K.E.R. like to make maps like layered pies. It would be useful for them.

P.S. CSM addon is still BETA. Work continues.

更新于:9 月 10 日 上午 7:56

Fixed shadow disabling

更新于:9 月 10 日 上午 7:24

- Fixed Flashlight.
- Removed RENDERMODE_NONE objects from shadowmaps render.
- Fixed sun_editor arrow inverce