BTSDS: Outlines via Post Processing

This commit is contained in:
Jenny Crowe
2022-03-10 05:45:21 -07:00
parent e7d6796c08
commit 32b647a4d4
23 changed files with 1096 additions and 40 deletions

View File

@ -15,6 +15,7 @@ namespace RhythmHeavenMania.Games.BuiltToScaleDS
[Header("Camera")]
public Transform renderQuadTrans;
public Transform camPivot;
public Camera camComp;
[Header("References")]
public SkinnedMeshRenderer environmentRenderer;
@ -57,6 +58,8 @@ namespace RhythmHeavenMania.Games.BuiltToScaleDS
var camWidth = camHeight * cam.aspect;
renderQuadTrans.localScale = new Vector3(camWidth, camHeight, 1f);
camComp.depthTextureMode = camComp.depthTextureMode | DepthTextureMode.Depth;
elevatorAnim.Play("MakeRod", 0, 1f);
}