26.02.09(TIL - RenderTexture)(2)

최완용·2026년 2월 9일

1. RT(Render Texture) 왜 배우는데?

  • CCTV, 저격총 Scope, MiniMap 등 활용

👉🏻 근데 많이 쓰면 과부하가 발생할 수 있다. (그 이유는 URP시간에 자세하게 알려주신다고 했다.)


2. 흐름 도식화

[Sub Camera] (촬영)
    ↓ Target Texture 설정
[Render Texture] (저장소/필름)
    ↓ 에셋 참조
[Material / UI -> RawImage] (출력/액자)

사용법

Plane생성 -> Plane에 Material을 생성 후 넣기 -> RenderTexture를 만들어 CCTV카메라에 넣기

Minimap 똑같다.

3. 사용 예시

[RT - Minimap]

[RT - 저격총 Scope]

https://www.reddit.com/r/Unity3D/comments/6ylhz9/realistic_scope_demo_2_parallax_shadow_and/

[RT - CCTV]


0개의 댓글