Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aivclab/cachedshadowmaps
Cached Shadow Map Solution for Unity
https://github.com/aivclab/cachedshadowmaps
csharp game-development games graphics lighting maps shadows unity unity-editor unity3d
Last synced: about 1 month ago
JSON representation
Cached Shadow Map Solution for Unity
- Host: GitHub
- URL: https://github.com/aivclab/cachedshadowmaps
- Owner: aivclab
- License: apache-2.0
- Created: 2020-01-16T09:16:38.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-04-12T11:28:20.000Z (over 2 years ago)
- Last Synced: 2024-09-23T11:31:22.629Z (about 2 months ago)
- Topics: csharp, game-development, games, graphics, lighting, maps, shadows, unity, unity-editor, unity3d
- Language: C#
- Homepage: https://www.lightmattergame.com/
- Size: 149 KB
- Stars: 70
- Watchers: 4
- Forks: 9
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
[![Header](.github/images/header.png)](https://www.lightmattergame.com/)
# Cached Shadow Maps
Cached Shadow Maps is a unity package for caching shadow maps on unity's built in lighting system, storing
them (while valid) for
later
use effectively reduces the number of shadows casters to be rendered each frame. This include
automatic recomputation when a light source context is detected to be dirty.---
_Cached Shadow Maps was developed for the published first person
puzzle game [Lightmatter](https://www.lightmattergame.com/), this technology is now released to the public under Apache License 2.0_---
## Usage
- Edit your Unity projects "Packages/manifest.json" to include the string
`"com.cnheider.cachedshadowmaps": "https://github.com/cnheider/cachedshadowmaps.git"}`.Example `manifest.json`
````
{
"dependencies": {
"com.unity.package-manager-ui": "0.0.0-builtin",
...
"com.aivclab.cachedshadowmaps": "https://github.com/aivclab/cachedshadowmaps.git",
}
}
````
You can use `"com.aivclab.cachedshadowmaps": "https://github.com/aivclab/cachedshadowmaps.git#branch"` for a specific
branch.***Or***
- Download the newest CSM.unitypackage from [releases](https://github.com/cnheider/cachedshadowmaps/releases
) and
import into your Unity project.***Or***
- Acquire the [Cached Shadow Maps (Temporarily down)](http://u3d.as/14cC) package from the built-in asset
store of the Unity Editor.## Demo
![demo](.github/images/demo.gif)
## Repository Structure
---cnheider/cachedshadowmaps # This repository
│
├── Samples # Sample Project
│
├── Editor # Editor Implementation
│
├── Runtime # Runtime Implementation
│
├── Documentation # Unity Package Documentation
│
├── Gizmos # Icons
│
├── Tests # Tests
│
├── .github # Images and such for this README
│
├── LICENSE.md # License file (Important but boring)
├── README.md # The top-level README
└── TUTORIAL.md # Very quick tutorial to get you started
---# Citation
For citation you may use the following bibtex entry:
````
@misc{cachedshadowmaps,
author = {Heider, Christian},
title = {Cached Shadow Maps},
year = {2020},
publisher = {GitHub},
journal = {GitHub repository},
howpublished = {\url{https://github.com/cnheider/cachedshadowmaps}},
}
````