Skip to content

Commit f8b57e0

Browse files
authored
Update README.md
1 parent 21069f0 commit f8b57e0

File tree

1 file changed

+36
-1
lines changed

1 file changed

+36
-1
lines changed

README.md

Lines changed: 36 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,37 @@
1-
# EyeOpeningEffect
1+
![repaiocelohc1](https://github.com/user-attachments/assets/a0ae9d54-8009-4471-8f0c-5b6f11c8b7fe)
2+
3+
# Eye Opening Effect Post Processing
4+
![Unity Version](https://img.shields.io/badge/Unity-6000.0.27%27LTS%2B-blueviolet?logo=unity)
5+
![Unity Pipeline Support (Built-In)](https://img.shields.io/badge/BiRP_❌-darkgreen?logo=unity)
6+
![Unity Pipeline Support (URP)](https://img.shields.io/badge/URP_✔️-blue?logo=unity)
7+
![Unity Pipeline Support (HDRP)](https://img.shields.io/badge/HDRP_❌-darkred?logo=unity)
28

9+
A post processing effect that simulates the look of eyes opening and closing to the camera screen. It was created for Serious Point Games as part of my studies in shader development.
10+
It is designed to run on the Unity URP pipeline and Unity 6 (6000.0.32f1), but theoretically, it could run on Unity 2022 but it is untested.
11+
12+
You can refer to the effect's documentation for more info (should be in the repo and its release as a PDF file).
13+
14+
## Features
15+
- Cinematic like eye openning in combination with a red tint to simulate light penerating through the skin of the eye lids (aka Subsurface scattering)
16+
- Fully adjustable parameters via volume component
17+
- Support for Unity 6
18+
19+
## Example[s]
20+
![repaiocelohc1](https://github.com/user-attachments/assets/a0ae9d54-8009-4471-8f0c-5b6f11c8b7fe)
21+
The eye opening effect in action
22+
<br>
23+
24+
## Installation
25+
1. Clone repo or download the folder and load it into an unity project.
26+
2. Ensure that under the project settings > graphics > Render Graph, you enable Compatibility Mode on (meaning you have Render Graph Disabled).
27+
3. Add the render feature of the effect to the Universal Renderer Data you are using.
28+
4. Create a volume game object and load the effect's volume component in the volume profile to adjust values
29+
5. If needed, you can change the effect's render pass event in its render feature under settings.
30+
31+
## Known Issue
32+
On some surfaces like lightly coloured walls, the blur blending between the player’s view and the eye shape mask may become less apparent or in some cases, not apparent at all.
33+
This is due to the way the effect is coded to be able to blend with the subsurface scattering like simulation, eye mask, and the player’s view effectively. This may not be an issue if the
34+
eye opening effect is used for a very short period of time and to be more of a subtle effect. Other than that, the blending effect is still rendered there but it is just not so apparent.
35+
36+
## Credits/Assets used
37+
No credits yet

0 commit comments

Comments
 (0)