본문 바로가기

Graphics/Ronja's Unity Shader tutorials

(13)
커스텀 라이팅 (램프 효과) 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 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다.몇몇 부분은 생략·추가하였습니다.의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 부분은 알려주시면 감..
체크 무늬 만들기 Checkerboard PatternSummary For me, one of the most interresting things to do with shaders is procedural images. To get started with that, we’re going to create a simple Checkerboard pattern. This tutorial will build on the simple shader with only properties, but as always,www.ronja-tutorials.comRonja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다.몇몇 부분은 생략·추가하였습니다.의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 ..
트라이플래너 매핑 (Triplanar Mapping) Triplanar MappingSummary I made a tutorial about planar mapping previously. The biggest disadvantage of the technique is that it only works from one direction and breaks when the surface we’re drawing isn’t oriented towards the direction we’re mapping from (up in thewww.ronja-tutorials.comRonja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다.몇몇 부분은 생략·추가하였습니다.의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 부분은 알려주..
색상 보간 Color InterpolationSummary Often you have more than one color going into the output you want to draw to the screen. A simple way of combining two colors is to interpolate between them based on other parameters. This tutorial will build on the simple textured shader, but youwww.ronja-tutorials.comRonja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다.몇몇 부분은 생략·추가하였습니다.의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 ..
평면 매핑 (Planar Mapping) Planar MappingSummary Sometimes you don’t have texture coordinates on your object, you want to make the Textures of multiple Objects align or you have a different reason to generate your own UV coordinates… In this tutorial we’ll start with the simplest way to genwww.ronja-tutorials.comRonja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다.몇몇 부분은 생략·추가하였습니다.의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 부분은 알려주시면 ..
스프라이트 셰이더 Sprite Shaders Summary In unity the way sprites are rendered is very similar to the way 3d objects are rendered. Most of the work is done by the sprite renderer component. I’ll go a bit over what the component is doing and how we can change our shader to do some of the www.ronja-tutorials.com Ronja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다. 몇몇 부분은 생략·추가하였습니다. 의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 부..
기본 투명 셰이더 Basic TransparencySummary In addition to just painting color onto the screen, we can also preserve some of the color that was on the screen previously, making the object seem see-through. I’ll explain how we can archieve this effect in a basic shader without lighting. Towww.ronja-tutorials.comRonja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다.몇몇 부분은 생략·추가하였습니다.의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 부분은..
유니티 서피스 셰이더 기본 Surface Shader Basics Summary In addition to writing shaders almost from the ground up, unity also allows us to define some parameters and let unity generate the code which does the complex light calculations. Those shaders are called “surface shaders”. To understand surfac www.ronja-tutorials.com Ronja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다. 몇몇 부분은 생략·추가하였습니다. 의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 ..
기본 셰이더 Basic Shader Summary In the last three tutorials I explained some of the cornerstones of how shaders work. In this one I show you how to fill in the rest. The main thing I didn’t show was actual executed code. Thats because you don’t need much code to get a shader www.ronja-tutorials.com Ronja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다. 몇몇 부분은 생략·추가하였습니다. 의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 부분은 알려..