일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- Dijkstra
- DP
- MYSQL
- 그래프
- SQL
- Trie
- String
- union find
- Hash
- 스토어드 프로시저
- Brute Force
- two pointer
- 다익스트라
- 이진탐색
- Stored Procedure
- binary search
- Two Points
- Today
- Total
목록전체 글 (425)
codingfarm
USING LERP WITH DELTA-TIME https://www.construct.net/en/blogs/ashleys-blog-2/using-lerp-delta-time-924 Recently on the forums came up the question of how to use dt (delta time) correctly with lerp. This turned out to be a surprisingly tricky question, and is a good demonstration of how knowledge of maths comes in handy when designing games. Just to recap, lerp(a, b, x) is a system expression tha..
3D 2가지 방법 사용가능 Ray 사용 카메라에서 마우스를 향하는 ray와 plane을 상호작용하여 얻은 좌표에 오브젝트를 위치시킨다 게임이 플레이 되는 floor에 오브젝트 위치 가능 ScreenToWorldPoint 함수 사용 카메라에 투영되는 평면상에 오브젝트 위치 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 using System.Collections; using System.Collections.Generic; using UnityEngine; public class MouseChaser : MonoBehaviour { public Transform ob1, ob2; Vect..
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; using UnityEngine.EventSystems; public class UIItem : MonoBehaviour, IPointerDownHandler, IPointerClickHandler, IPointerUpHandler, IPointerExitHandler, IPointerEnterHandler, IBeginDragHandl..

1. 렌더 엔진 쉐이더 작업전에는 우선 어느 Render Engine을 사용할지 부터 결정해야 한다. (각 렌더엔진 간에 머터리얼이 호환되는 부분도 있지만, 결국 각각의 엔진에 맞게끔 material을 설정해주어야 하므로) Eevee : PBR material, 물리기반 매터리얼을 실시간으로 표시가능 Workbench : solid shading 과 비슷한 프리뷰용 렌더엔진, lighting과 material이 적용 X Cycles : 느리지만 더 정확한 렌더엔진, 본 포스팅에서 사용 뷰포트 쉐이딩 모드 설정한 렌더엔진으로 실시간 렌더링 결과를 뷰 포트에 출력하기 단축키 Z를 누르면 여러가지 뷰포트 모드가 나오며, 그 중 Rendered 를 선택한다. 2. Material 1. Material Slot ..