본문 바로가기
Post Process Box Blur 2022. 8. 6.
Stencil 2 스탠실의 간단한 응용 예시 2022. 7. 31.
Stencil 2022. 7. 31.
Water_Refraction_Depth Fade 2022. 7. 26.
Gerstner Wave Y 계산 X,Y 계산 2022. 7. 13.
Water Wave sine wave Sine Wave with Normal 2022. 7. 10.
Water Scroll 노말맵을 더할때에는 그냥 add로 더하면 노말이 망가진다. 그래서 Normal Blend 공식을 이용해야 한다 https://docs.unity3d.com/Packages/com.unity.shadergraph@12.1/manual/Normal-Blend-Node.html Normal Blend Node | Shader Graph | 12.1.7 Normal Blend Node Description Blends two normal maps defined by inputs A and B together, normalizing the result to create a valid normal map. Ports Name Direction Type Binding Description A Input Vector .. 2022. 7. 9.
Water Reflection 2022. 7. 9.
Scene Depth 대충 이렇게 하면 아래처럼 나옵니다. 그리고 아래와 같이 하면 공의 깊이값이 나옵니다. 가까이 가면 검어지는 것을 볼 수 있습니다. 2022. 6. 6.
OpenGL Transform 개요 OpenGL Transformation 几何变换的顺序概要(MVP,NDC,Window坐标变换过程)_Jave.Lin的博客-CSDN博客 OpenGL Transformation 几何变换的顺序概要(MVP,NDC,Window坐标变换过程)_Jave.Lin的博客-CSDN博客 OpenGL Transformation 几何变换的顺序概要(MVP,NDC,Window坐标变换过程) Geometry transforming or culling sequence: application passing the vertex pos(object space pos) to the shader program。transforming of clip space pos from object space pos blog.csdn.net 2022. 6. 4.
Unity URP 3D 프로젝트는 리니어고 2D 프로젝트는 감마다?! 2D 프로젝트를 안해봐서 몰랐는데 3D 프로젝트는 처음 만들어 Player Setting을 보면 Color Space가 Linear로 되어 있는것을 볼 수 있는데 2D 프로젝트는 Gamma로 되어 있다. Gamma 나 Linear 나 장단점이 있는건 알고 있는데 왜 이런 기본 세팅을 다르게 해놓음?? 덕분에 회색 + 회색을 할때 둘의 결과가 다르게 나온다 3D 에서 회색+ 회색을 하면 제대로 흰색이 안나오는데, 이것은 Linear 모드에서 Gamma 텍스쳐 연산할때의 전형적인 문제이다. 그런데 2D는 Gamma 모드이므로 둘을 연산하면 제대로 나온다. 평소에 2D 게임을 안만들다 보니 이걸 내가 미리 발견했을리가 없잖.. . 그런데 URP에서는 리니어 파이프라인이 기본이라고 그렇게 광고해놓고 왜 2D 는.. 2022. 6. 3.
Ultimate guide to profiling Unity games (궁극의 유니티 게임 프로파일링 가이드) https://resources.unity.com/games/ultimate-guide-to-profiling-unity-games Ultimate guide to profiling Unity games The Ultimate guide to profiling Unity games features best practices from Unity experts on how to profile and improve the performance of your game on any platform. resources.unity.com 이 문서. 한글 번역본이 가지고 싶어서 구글님의 힘을 빌려 번역했슴다 아래는 원본. 번역기 돌리려면 10메가 이하여야 해서 자른 버전. 2022. 6. 3.
반응형