기술면(CG) 31

유니티 쉐이더 기초14

커스텀 라이팅/구조체​struct SurfaceOutput​fixed3 Albedofixed3 Normalfixed3 Emissionhalf Specular // 스펙큘러 파워fixed Gloss //스펠귤로 강도fixed Alpha​struct SurfaceOutputStandard​fixed3 Albedofixed3 Normalfixed3 Emissionhalf Metallichalf Smoothnesshalf Occlusionfixed Alpha​struct SurfaceOutputStandardSpecular​fixed3 Albedofixed3 Specular // 스펙큘러 컬러fixed3 Normalhalf3 Emissionhalf Smoothnesshalf Occlusionfixed Alpha..

유니티 쉐이더 기초13

흐르는 물​Shader "Custom/cube"{Properties{_Bumpmap("노멀",2D) = "bump"{}_Cube("큐브", Cube) = ""{}_SPColor("빛컬러", color)=(1,1,1,1)_SPPower("빛세기", Range(50,300))=150_SPMulti("빛곱하기",Range(1,10))=3_WaveH("파도높이", Range(0, 1)) =0.1_WaveL("파도넓이", Range(5, 20)) = 12_WaveT("파도속도", Range(0,10))=1}SubShader{Tags { "RenderType" = "Transparent" "Queue"="Transparent"}CGPROGRAM#pragma surface surf WaterSpecular alpha..

유니티 쉐이더 기초 11

큐브맵을 넣은 쉐이더 만들기​​Shader "Custom/NewSurfaceShader"{Properties{​_MainTex ("Albedo (RGB)", 2D) = "white" {}_BumpMap("NormalMap", 2D) = "bump" {}_MaskMap("MaskMap", 2d) = "white" {}_Cube("Cubemap", cube) = ""{}​}SubShader{Tags { "RenderType"="Opaque" }​CGPROGRAM​#pragma surface surf Lambert noambient​​sampler2D _MainTex;sampler2D _BumpMap;sampler2D _MaskMap;samplerCUBE _Cube;​​struct Input{float2 uv..

유니티쉐이더 기초 10

버텍스 쉐이더를 이용한 외곽선 만들기​​Shader "Custom/ToonRender"{Properties{_MainTex("Albedo(RGB)",2D) = "white"{}}SubShader{Tags { "RenderType"="Opaque" }cull front//앞면을 날리고 뒷면을 보여줌. cull off의 경우 2 side​CGPROGRAM#pragma surface surf Nolight vertex:vert noshadow noambient//vertex:vert=버텍스 쉐이더가 vert라는 함수이름으로 시작된다는 것을 #pragma에 알려주고 void로 시작하는 vert 이름의 함수를 만듦(void는 return이 필요없음)​​​void vert(inout appdata_full v) {..

FBX를 Biped로 만들어주는 스크립트

https://www.scriptspot.com/3ds-max/scripts/fbx-to-biped FBX를 Biped로 바꾸어줄 방법을 찾다가 발견한이상원님의 스크립트입니다.다운로드는 사이트내에 표기된 링크에서 받을 수 있습니다. https://www.youtube.com/watch?v=7Lr33HA5IvY(영상참고) 2017년도 영상이지만 max2024에서도 무리없이 돌아갑니다.이상원님 뉘신진 모르겠지만 사랑합니다.

동영상에서 모션캡쳐해주는 DeepMotion Animate 3D

https://www.deepmotion.com/animate-3d Animate 3D by DeepMotion | AI Motion CaptureGenerate 3D animations from video in seconds through any web browser. AI powered motion capture and real time body tracking that's easy to use.www.deepmotion.com  가입후위 Drag and drop video에 영상을 넣으면20초짜리 영상을 AI로 모션캡쳐해 FBX로 추출이 가능한 사이트입니다.  월별, 혹은 연간 플랜으로조금 더 고품질의 긴 영상도 추출가능하다 합니다. 테스트해본 결과 무료플랜은 다소 끊기는 감이 있고 20초밖에 안되..