Commit 2d14322
committed
feature (extended translucency): ScatteringVolume material
Adding a new material model to the feature: ScatteringVolume
This material is modeled after a ball of smoke, which scattering light exponentially
through it.
It is unique because its the first material model that "fade out" the mesh,
instead of strengthening its edges.
This material was originally designed for `Ghost`, or `SetActorAlpha`.
But it does not work out of the box yet:
1. The EffectShader of a regular ghost is way too strong, making it hard to see difference in the mesh's rendering.
2. We disabled this effect in SKIN shader to avoid rendering issue with makeup and face details.1 parent 87a8408 commit 2d14322
File tree
4 files changed
+17
-4
lines changed- features/Extended Translucency/Shaders/ExtendedTranslucency
- package/Shaders
- src/Features
4 files changed
+17
-4
lines changedLines changed: 7 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
44 | 50 | | |
45 | 51 | | |
46 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3205 | 3205 | | |
3206 | 3206 | | |
3207 | 3207 | | |
3208 | | - | |
| 3208 | + | |
3209 | 3209 | | |
3210 | 3210 | | |
3211 | 3211 | | |
| |||
3220 | 3220 | | |
3221 | 3221 | | |
3222 | 3222 | | |
| 3223 | + | |
| 3224 | + | |
| 3225 | + | |
| 3226 | + | |
3223 | 3227 | | |
3224 | 3228 | | |
3225 | 3229 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| 93 | + | |
93 | 94 | | |
94 | 95 | | |
95 | 96 | | |
| |||
104 | 105 | | |
105 | 106 | | |
106 | 107 | | |
107 | | - | |
| 108 | + | |
| 109 | + | |
108 | 110 | | |
109 | 111 | | |
110 | 112 | | |
| |||
160 | 162 | | |
161 | 163 | | |
162 | 164 | | |
163 | | - | |
| 165 | + | |
164 | 166 | | |
165 | 167 | | |
166 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
0 commit comments