input1 [쉐이더노트] input structure Surface Shader input structure The input structure Input generally has any texture coordinates needed by the shader. Texture coordinates must be named “uv” followed by texture name (or start it with “uv2” to use second texture coordinate set). Additional values that can be put into Input structure: float3 viewDir - will contain view direction, for computing Parallax effects, rim lighting etc. fl.. 2014. 11. 19. 이전 1 다음