Garry's Mod

Garry's Mod

Cascaded Shadow Mapping (CSM Shader)
Viser 41-50 af 67 forekomster
< 1  2  3  4  5  6  7 >
Opdatering: 15. sep. kl. 10:30

Opdatering: 15. sep. kl. 10:06

Opdatering: 15. sep. kl. 9:50

Fixed some lua errors

Opdatering: 15. sep. kl. 9:39

Fixed some lua errors

Opdatering: 15. sep. kl. 9:13

Fixed shdowmap blur.

Opdatering: 15. sep. kl. 9:11

Removed trigger from shadowmap. Added notify about MSAA>

Opdatering: 15. sep. kl. 8:30

Render local player disabled on default.

Opdatering: 15. sep. kl. 8:29

Fixed some sun leaks and lua errors.

Opdatering: 11. sep. kl. 16:24

r_csm_near min param 25 -> 20

Opdatering: 11. sep. kl. 15: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.