분류 전체보기
-
Shader Graph - fire flamesUnity/제로부터 Effect 2023. 11. 14. 23:06
Package manager Shader Graph Universal RP 1. Texture2D 추가하기 -unity 기본 particle 2. Sample Texture 2D에 연결 3.color를 생성해준후 multiply 노드로 샘플링한 텍스쳐와 색상을 연결해주기. 노이즈 패턴 만들기. Gradient Noise(그라디언트 노이즈) 노드로 노이즈 패턴을 만들어 줍니다. tilling and offset 노드로 텍스쳐를 반복 이동 시켜줍니다. vector2와 time 노드를 생성해 multiply 에 연결해준뒤 tilling and offset에 연결해 줍니다. time 노드로 인해 vector2 값이 계속 증가하면서 tilling and offset으로 지속적으로 vector2에 설정한 방향으로 ..
-
프로그래머스 - 특이한 정렬제로부터 C# 코딩테스트 2023. 11. 14. 17:23
풀이 n과 가장 가까운 순으로 정렬 하는 문제 입니다. 단순 버블정렬을 이용해 풀거나 using System; public class Solution { public int[] solution(int[] numlist, int n) { for(int i = numlist.Length-1; i>=0 ;i--) { for(int j = 0;j Math.Abs(n-numlist[j+1])) { int term = numlist[j+1]; numlist[j+1] = numlist[j]; numlist[j] = term; }else if(Math.Abs(n-numlist[j]) == Math.Abs(n-numlist[j+1])) { if(numlist[j]< numlist[j+1]) { int term = nu..
-
제로부터 시작하는 Unity Shader Graph (1) 용어'만' 알아보기Unity/제로부터 시작하는 Graph 2023. 11. 11. 23:45
혹시라도 틀린 부분이 있을시 언제든 지적해주시면 감사하겠습니다😢 Active Targets Material Allow Material override Workflow Mode Surface Type Blending Mode Render Face Depth Write Depth Test Alpha Clipping Cast Shadows Receive Shadows Supports Lod Cross Fade Fragment Normal Space Clear Coat Preserve Specular Lighting Custom Editor GUI Support VFX Graph Active Targets Universal: "Universal"은 Unity의 Universal Render Pipeline (U..