본문 바로가기

Unity

(35)
프로젝트 TIGRIS - 튜토리얼과 내레이션 만들기 (Thumbnail) 개요졸업작품으로 진행했던 TIGRIS 프로젝트를 마무리 (돌아가기만 하게끔...) 하는 과정에서, 빠져서는 안 되는 튜토리얼을 구현하게 됐습니다. 단순하게 내레이션을 출력해서 사용자에게 조작을 안내하고, 안내한 해당 조작을 진행하면 다음 튜토리얼로 진행하는 방식으로 작업했습니다. 👀 내레이션 튜토리얼 구현 예 매우 간단하게 구현하기내레이션으로 튜토리얼을 진행하기 위해, 내레이션을 재생하는 NarrationPlayer, 게임의 플로우를 관리하는 GameManager, 그리고 마지막으로 상태 및 내레이션 인덱싱 등의 미리 정의한 상수값들 (Enum으로 분류) 을 가지고 있는 Constants 의 세 클래스를 작성했습니다. Constants 내의 상수들은 아래와 같이 구성하고, Nar..
노말 텍스처를 활용한 포스트프로세싱 Postprocessing with Normal TextureSummary Another piece of information we can easily get our hands on thats very useful for postprocessing is the normals of the scene. They show in which direction the surface at any given pixel is pointing. To understand how to get and use the normals of twww.ronja-tutorials.comRonja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다.몇몇 부분은 생략·추가하였습니다.의역과 오역이 넘쳐날 수 있..
뎁스 텍스처를 활용한 포스트프로세싱 Postprocessing with the Depth TextureSummary In the last tutorial I explained how to do very simple postprocessing effects. One important tool to do more advanced effects is access to the depth buffer. It’s a texture in which the distance of pixels from the camera is saved in. To understandwww.ronja-tutorials.comRonja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다.몇몇 부분은 생략·추가하였습니다.의역과 오역이 넘쳐날 수 ..
포스트프로세싱 기초 Postprocessing BasicsSummary We used all shaders we wrote in this tutorial until now to render models to the screen. Another way shaders are commonly used is to manipulate images with them. That includes the image we’re drawing to the screen as we render our game. When manipwww.ronja-tutorials.comRonja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다.몇몇 부분은 생략·추가하였습니다.의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된..
버텍스 디스플레이스먼트 Vertex DisplacementSummary So far we only used the vertex shader to move vertices from their object coordinates to their clip space coordinates (or to the world space coordinates which we then used for other things). But there are more things we can do with vertex shaders. Awww.ronja-tutorials.comRonja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다.몇몇 부분은 생략·추가하였습니다.의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된..
Unity - DoTween으로 애니메이션 상에서 텍스트에 효과 적용하기 목차텍스트 애니메이션 함수 DOText()애니메이션에서 이벤트 함수로 DOText() 실행하기 텍스트 애니메이션 함수 DOText()DOTween 은 DOText() 라는 텍스트 애니메이션용 메소드를 가지고 있습니다. 이 메소드를 활용해서, 텍스트 애니메이션 효과를 애니메이션에서 호출할 수 있게끔 만들어 보려고 합니다!먼저 DOTween 공식 문서의 Text 단락을 참고해서 DOText() 함수가 어떻게 구성되어 있는지 살펴보겠습니다. DOTween 관련 세부 정보가 더 궁금하시다면 공식 문서를 살펴보시는 것을 추천드려요. string to : 애니메이션되어 변경될 텍스트 변수입니다. 현재 텍스트가 abc 이고, to 변수가 def 라면, DOText 애니메이션이 플레이되면 텍스트는 abc 에서 d..
프로젝트 MC #04 - 프로젝트 마무리 개요22년도에 프로그래밍 공부 겸, 간단한 게임을 만들어보고자 시작했던 프로젝트가 2년이 지난 24년도에 끝을 맺게 됐네요.조금 지난 지금, 깃 커밋 내역을 되돌아보면서 정리하면서 글을 적어봅니다. 📝이번 글에서는 UI, 다루지 않았던 사소한 내용들, 마지막으로는 프로젝트를 마무리하면서 느꼈던 점들을 정리해보려 합니다.  프로젝트의 첫 아이디어는 '체스 말을 원하는 수량을, 자유롭게 배치할 수 있게 한 체스 게임은 어떨까?' 였습니다. '샷건 킹' 이라는 로그라이크 액션 게임을 보고 아이디어가 생각났던 것 같아요.따라서, 핵심 시스템인 체스말 구성으로 덱을 빌딩하는 시스템과, 실제로 체스처럼 말이 움직이고 전투하는 시스템 두 가지를 구현하는 것을 프로토타이핑에 반영하는 것을 목표로 했습니다.처음에는 데..
폴리곤 클리핑 Polygon ClippingSummary Of course everything we render so far is made of polygons, but someone asked me how to clip a polygon shape based on a list of points in a shader so I’ll explain how to do that now. I will explain how to do that with a single shader pass in a frawww.ronja-tutorials.comRonja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 아래 링크에서 확인하실 수 있습니다.몇몇 부분은 생략·추가하였습니다.의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 부분은..
커스텀 라이팅 (램프 효과) Custom LightingSummary Surface shaders are wonderful and being able to use the Standard PBR model is very powerful. But we don’t always want the PBR light. Sometimes we want to change the way we treat lighting to get a different, often more cartoonish, look. Custom ligwww.ronja-tutorials.comRonja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다.몇몇 부분은 생략·추가하였습니다.의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 부분은 알..
프레넬 FresnelSummary A common effect people use in shaders in a fresnel effect. With a fresnel you can darken, lighten or color the outline of your objects, increasing the sense of depth. For this tutorial we will make a surface shader, so if you follow it directly youwww.ronja-tutorials.comRonja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다.몇몇 부분은 생략·추가하였습니다.의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 부분은 알려주시면 감..