본문 바로가기

Graphics/Ronja's Unity Shader tutorials

(9)
색상 보간 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 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 Transparency Summary 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. To www.ronja-tutorials.com Ronja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다. 몇몇 부분은 생략·추가하였습니다. 의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못..
유니티 서피스 셰이더 기본 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 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다. 몇몇 부분은 생략·추가하였습니다. 의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 부분은 알려..
변수 Variables Summary After making clear how the shader stages are put together and the rough outline of shaderlab outside of the actual shader code, lets talk about what variables our shader needs to function and how we add them to our code. This includes the variables www.ronja-tutorials.com Ronja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다. 몇몇 부분은 생략·추가하였습니다. 의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 부분은 ..
HLSL HLSL HLSL? Hlsl is the language the “juicy” parts of unity shaders are written in. The parts that contain custom logic and eventually decide what is drawn where on screen. It’s the language Microsoft designed to work with their Direct3D API to write gpu p www.ronja-tutorials.com Ronja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다. 몇몇 부분은 생략·추가하였습니다. 의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 부분은 알려주시면 감사하겠습..
유니티 셰이더 구조 Structure Shader Structure When talking about shaders I want to start at explaining the rough outline of how shaders are set up so we can understand how to customize them. Most modern shaders have a variable pipeline that consists out of at least a vertex shader and www.ronja-tutorials.com Ronja 님의 허락을 받고 번역한 튜토리얼입니다. 원문은 위 링크에서 확인하실 수 있습니다. 몇몇 부분은 생략·추가하였습니다. 의역과 오역이 넘쳐날 수 있으니 편하게 봐주시고 잘못된 부분은 ..