Image Effects - zzragida/UnityDocs GitHub Wiki
์ด๋ฏธ์ง ์ดํํธ(Image Effects)
- ์ด ๊ทธ๋ฃน์ ๋ชจ๋ Render Texture ๊ธฐ๋ฐ์ ์ ์ฒด ํ๋ฉด ์ด๋ฏธ์ง ํ ์ฒ๋ฆฌ๋ฅผ ๋ค๋ฃน๋๋ค. ArtWork์ ๋ง์ ์๊ฐ์ ์์ ๋ถ๋ ์ผ ์์ด, ๊ฒ์์ ๋ชจ์๊ณผ ๋๋์ ๋ง์ ๊ฒ๋ค์ ์ถ๊ฐํ ์ ์์ต๋๋ค.
- ๋ชจ๋ ์ด๋ฏธ์ง ํจ๊ณผ๋, ์ ๋ํฐ์ OnRenderImage ํจ์๋ก ๋ง๋ค์ด์ ธ ์์ต๋๋ค. ๊ทธ๋ฌ๋ฉด ์นด๋ฉ๋ผ์ ๋ถ์ด ์๋ ์ด๋ค MonoBehavior์๋ ๋ค์ํ ์ฌ์ฉ์ ์ ์ ํจ๊ณผ์ ํจ๊ป ์ฌ์ฉํ ์ ์๋๋ก ๋ฎ์ด์ธ ์ ์์ต๋๋ค.
- ์ด๋ฏธ์ง ํจ๊ณผ๋ opaque ๊ทธ๋ฆฌ๊ธฐ ํจ์ค ํ, ๋๋ opaque & transparent ๊ทธ๋ฆฌ๊ธฐ ํจ์ค(๊ธฐ๋ณธ์ ์ผ๋ก๋ ์ด์ชฝ) ์ดํ์ ์คํ๋ฉ๋๋ค. ์ ์์ ํ๋์ ์์ฃผ ๊ฐ๋จํด์, OnRenderImage ํจ์์ImageEffectOpaque ์์ฑ์ ๋ถ์ด๋ ๊ฒ๋ง์ผ๋ก ๊ฐ๋ฅํฉ๋๋ค.
- ์ด ํจ๊ณผ์ ์๋, Edge Detection effect๋ฅผ ์ฐธ์กฐํ์ญ์์ค.
- ์ด๋ฏธ์ง ํจ๊ณผ๋ ๊ฐ์ ์นด๋ฉ๋ผ์์ ์คํ๋ฉ๋๋ค. ๊ทธ๋ฅ ์ถ๊ฐํ๊ธฐ๋ง ํ๋ฉด ์๋ํฉ๋๋ค.
์ํฐ์๋ฆฌ์์ฑ(Antialiasing)
- http://docs.unity3d.com/Manual/script-Antialiasing.html
- ํ๋์จ์ด ์ง์ : Shader Model 3์ด ์ง์๋์ด์ผ ํจ
๋ธ๋ฃธ(Bloom)
- http://docs.unity3d.com/Manual/script-Bloom.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
๋ธ๋ฃธ๊ณผ ๋ ์ฆ ํ๋ ์ด(Bloom and Lens Flares)
- http://docs.unity3d.com/Manual/script-BloomAndFlares.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
๋ธ๋ฌ(Blur)
- http://docs.unity3d.com/Manual/script-Blur.html (Now deprecated instead use Blur Optimized)
- http://docs.unity3d.com/Manual/script-BlurOptimized.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
์นด๋ฉ๋ผ ๋ชจ์ ๋ธ๋ฌ(Camera Motion Blur)
- http://docs.unity3d.com/Manual/script-CameraMotionBlur.html
- ํ๋์จ์ด ํธํ์ฑ : Shader Model 3 ์ง์๊ณผ Depth textures๋ฅผ ์ง์ํด์ผ ํจ
- Motion Blur Filters
์์ ๋ณด์ ๊ณก์ (Color Correction Curves)
- http://docs.unity3d.com/Manual/script-ColorCorrectionCurves.html
- ํ๋์จ์ด ํธํ์ฑ : Depth textures๊ฐ ์ง์๋์ด์ผ ํจ
์์ ๋ณด์ ๋จํ ํ ์ค์ฒ(Color Correction Ramp Texture)
- http://docs.unity3d.com/Manual/script-ColorCorrectionRamp.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
์์ ๋ณด์ ๋ฃฉ์ ํ ์ค์ฒ(Color Correction Lookup Texture)
- http://docs.unity3d.com/Manual/script-ColorCorrectionLookup.html
- ํ๋์จ์ด ํธํ์ฑ : Pixel shader (3.0)์ด ์ง์๋์ด์ผ ํจ
- PC: NVIDIA cards since 2004 (GeForce 6), AMD cards since 2005 (Radeon X1300), Intel cards since 2006 (GMA X3000)
- Consoles : Xbox 360, PS3
๋๋น ๊ฐํ(Contrast Enhance)
- http://docs.unity3d.com/Manual/script-ContrastEnhance.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
์คํธ๋ ์น ๋๋น(Contrast Stretch)
- http://docs.unity3d.com/Manual/script-ContrastStretch.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
์ฃผ๋ฆ ์์(Crease Shading)
- http://docs.unity3d.com/Manual/script-CreaseShading.html
- ํ๋์จ์ด ํธํ์ฑ : Depth textures๊ฐ ์ง์๋์ด์ผ ํจ
ํผ์ฌ๊ณ ์ฌ๋(Depth of Field)
- http://docs.unity3d.com/Manual/script-DepthOfField.html
- ํ๋์จ์ด ํธํ์ฑ : Shader Model 3 ์ง์๊ณผ Depth textures๋ฅผ ์ง์ํด์ผ ํจ
์์ง ๊ฒ์ถ(Edge Detection)
- http://docs.unity3d.com/Manual/script-EdgeDetectEffect.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
์์ง ๊ฒ์ถ ํจ๊ณผ ๋ ธ๋ฉ(Edge Detect Effect Normals)
- http://docs.unity3d.com/Manual/script-EdgeDetectEffectNormals.html
- ํ๋์จ์ด ํธํ์ฑ : Depth textures๊ฐ ์ง์๋์ด์ผ ํจ
๋ฌผ๊ณ ๊ธฐ๋?(Fisheye)
- http://docs.unity3d.com/Manual/script-Fisheye.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
๊ธ๋ก๋ฒ ์๊ฐ(Global Fog)
- http://docs.unity3d.com/Manual/script-GlobalFog.html
- ํ๋์จ์ด ํธํ์ฑ : Depth textures๊ฐ ์ง์๋์ด์ผ ํจ
๊ทธ๋ ์ด์ค์ผ์ผ(Grayscale)
- http://docs.unity3d.com/Manual/script-Grayscale.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
๋ชจ์ ๋ธ๋ฌ(Motion Blur)
- http://docs.unity3d.com/Manual/script-MotionBlur.html
- ํ๋์จ์ด ํธํ์ฑ : Rendering to a texture๋ฅผ ์ง์ํด์ผ ํจ. E.g. GeForce2, Radeon 7000 ์ด์
๋ ธ์ด์ฆ์ ๊ทธ๋ ์ธ(Noise And Grain)
- http://docs.unity3d.com/Manual/script-NoiseAndGrain.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
๋ ธ์ด์ฆ์ ์คํฌ๋ ์น(Noise And Sctratches)
- http://docs.unity3d.com/Manual/script-NoiseAndScratches.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
์คํฌ๋ฆฐ ์ค๋ฒ๋ ์ด(Screen Overlay)
- http://docs.unity3d.com/Manual/script-ScreenOverlay.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
์ธํผ์ ํค(Sepia Tone)
- http://docs.unity3d.com/Manual/script-SepiaTone.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
์ฌ ์คํํธ(Sun Shafts)
- http://docs.unity3d.com/Manual/script-SunShafts.html
- ํ๋์จ์ด ํธํ์ฑ : Depth textures๊ฐ ์ง์๋์ด์ผ ํจ
์คํฌ๋ฆฐ ์คํ์ด์ค ์ฐ๋น์ธํธ ??(Screen Space Ambient Obscurance)
- http://docs.unity3d.com/Manual/script-ScreenSpaceAmbientObscurance.html
- ํ๋์จ์ด ํธํ์ฑ : Shader Model 3 ์ง์๊ณผ Depth textures๋ฅผ ์ง์ํด์ผ ํจ
์คํฌ๋ฆฐ ์คํ์ด์ค ์ฐ๋น์ธํธ ์คํด๋ฃจ์ (Screen Space Ambient Occlusion)
- http://docs.unity3d.com/Manual/script-ScreenSpaceAmbientOcclusion.html
- ํ๋์จ์ด ํธํ์ฑ : Shader Model 3 ์ง์๊ณผ Depth textures๋ฅผ ์ง์ํด์ผ ํจ
๊ธฐ์ธ๊ธฐ ๋ณํ(Tilt Shift)
- http://docs.unity3d.com/Manual/script-TiltShiftHdr.html
- ํ๋์จ์ด ์ง์ : Shader Model 3์ด ์ง์๋์ด์ผ ํจ
ํค๋งคํ(Tonemapping)
- http://docs.unity3d.com/Manual/script-Tonemapping.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
๋น๋น๋๊ธฐ(Twirl)
- http://docs.unity3d.com/Manual/script-Twirl.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
๋น๋คํ ๊ณผ ํฌ๋ก๋งํฑ ์ ๋ฒ๋ ์ด์ (Vignetting and Chromatic Aberration)
- http://docs.unity3d.com/Manual/script-VignettingAndChromaticAberration.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ
์์ฉ๋์ด(Vortex)
- http://docs.unity3d.com/Manual/script-Vortex.html
- ํ๋์จ์ด ์ง์ : ๋ชจ๋ ํ๋์จ์ด์์ ์คํ๋จ