vault backup: 2025-01-10 17:27:43
This commit is contained in:
parent
e66e12db33
commit
03d08c7a9a
@ -119,7 +119,7 @@ rating: ⭐⭐⭐
|
|||||||
2. [ ] 平滑法线采样
|
2. [ ] 平滑法线采样
|
||||||
11. [ ] 阴影控制
|
11. [ ] 阴影控制
|
||||||
1. [x] 控制深度偏移
|
1. [x] 控制深度偏移
|
||||||
1. [ ] 在材质中使用ShadowPassSwitch再对DirectionalLight方向进行WPO偏移实现。
|
1. [ ] 在材质中使用ShadowPassSwitch再对ViewSpace的Z轴方向(使用DirectionalLightVector比较可以只对方向光进行偏移)进行WPO偏移实现。
|
||||||
2. [ ] ContactShadow接触阴影实现衣服细节的DetailShadow
|
2. [ ] ContactShadow接触阴影实现衣服细节的DetailShadow
|
||||||
3. [ ] 半程阴影
|
3. [ ] 半程阴影
|
||||||
12. [ ] ToonTranslucent
|
12. [ ] ToonTranslucent
|
||||||
|
@ -96,10 +96,16 @@ bool bEnableToonMeshDrawOutline = MaterialRenderProxy->GetToonOutlineDataAssetRT
|
|||||||
FProjectedShadowInfo->Scene
|
FProjectedShadowInfo->Scene
|
||||||
FPrimitiveSceneProxy
|
FPrimitiveSceneProxy
|
||||||
## 深度偏移
|
## 深度偏移
|
||||||
|
### 方法一
|
||||||
1. FProjectedShadowInfo添加变量。
|
1. FProjectedShadowInfo添加变量。
|
||||||
|
|
||||||
FSceneRenderer::RenderShadowDepthMaps() => RenderShadowDepthMapAtlases() => ProjectedShadowInfo->RenderDepth()
|
FSceneRenderer::RenderShadowDepthMaps() => RenderShadowDepthMapAtlases() => ProjectedShadowInfo->RenderDepth()
|
||||||
|
|
||||||
|
已放弃,FProjectedShadowInfo无法判断MeshSection。
|
||||||
|
### 方法二
|
||||||
|
在材质中使用ShadowPassSwitch再对ViewSpace的Z轴方向(使用DirectionalLightVector比较可以只对方向光进行偏移)进行WPO偏移实现。
|
||||||
|
|
||||||
|
其优点就是可以用贴图来控制偏移过渡。
|
||||||
|
|
||||||
## DirectionOffsetToViewShadow
|
## DirectionOffsetToViewShadow
|
||||||
1. 在FProjectedShadowInfo添加变量。
|
1. 在FProjectedShadowInfo添加变量。
|
||||||
FSceneRenderer::CreateDynamicShadows() => SetupInteractionShadows(),在CreatePerObjectProjectedShadow()添加相关逻辑。
|
FSceneRenderer::CreateDynamicShadows() => SetupInteractionShadows(),在CreatePerObjectProjectedShadow()添加相关逻辑。
|
||||||
|
@ -7,4 +7,7 @@
|
|||||||
| 燃气费 | 1.1 | 136.4 | 支付宝 |
|
| 燃气费 | 1.1 | 136.4 | 支付宝 |
|
||||||
| 公交卡 | 1.7 | 100 | 支付宝 |
|
| 公交卡 | 1.7 | 100 | 支付宝 |
|
||||||
| TaoBao购物 | 1.8 | 39.55 | 支付宝 |
|
| TaoBao购物 | 1.8 | 39.55 | 支付宝 |
|
||||||
|
| JD购物(睡衣) | 1.9 | 154.84 | 微信 |
|
||||||
|
| JD购物(睡衣) | 1.9 | 159.95 | |
|
||||||
|
| | | | |
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user