프로퍼티 | 타입 | 설명 | |
---|---|---|---|
m_arScreenMaterial | Material | ||
m_postProcessMaterial | Material |
메소드 | 설명 | |
---|---|---|
OnDisable ( ) : void |
Unity OnEnable callback. The reversed operation from the OnEnable() call.
|
|
OnEnable ( ) : void |
Unity OnEnable callback. The distortion post process will be turned on after this script is enabled, at the same time, we need to change the distortion flag in AR Screen shader to true as well.
|
|
OnRenderImage ( RenderTexture src, RenderTexture dest ) : void |
Unity OnRenderImage callback. Our customized post process shader will be excuted.
|
|
SetupIntrinsic ( |
Pass the camera intrinsics to both PostProcess and ARScreen shader. The camera intrinsics are needed for undistortion or distortion.
|