{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Normal Reconstruct Z 노드 | Shader Graph | 10.8.0
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Normal Reconstruct Z 노드

    설명

    In 입력에서 특정 X 및 Y 값을 사용하여 생성된 노멀 맵의 올바른 Z 값을 파생합니다.

    포트

    이름 방향 Type 설명
    In 입력 벡터 2 노멀 X 및 Y 값
    Out 출력 벡터 3 출력 값

    생성된 코드 예제

    다음 예제 코드는 이 노드의 가능한 결과 중 하나입니다.

    void Unity_NormalReconstructZ_float(float2 In, out float3 Out)
    {
        float reconstructZ = sqrt(1.0 - saturate(dot(In.xy, In.xy)));
        float3 normalVector = float3(In.x, In.y, reconstructZ);
        Out = normalize(normalVector);
    }
    
    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)