mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 08:47:37 +02:00
BTSDS: Outlines via Post Processing
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user