{!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} Saturation 노드 | Shader Graph | 10.8.0
docs.unity3d.com
"{0}"의 검색 결과

    목차 표시/숨기기

    Saturation 노드

    설명

    Saturation 입력의 양만큼 In 입력의 채도를 조정합니다. Saturation 값이 1이면 변경되지 않은 입력을 반환합니다. Saturation 값이 0이면 채도가 완전히 줄어든 입력을 반환합니다.

    포트

    이름 방향 Type 바인딩 설명
    In 입력 벡터 3 None 입력 값
    Saturation 입력 플로트 None 채도 값
    Out 출력 벡터 3 None 출력 값

    생성된 코드 예제

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

    void Unity_Saturation_float(float3 In, float Saturation, out float3 Out)
    {
        float luma = dot(In, float3(0.2126729, 0.7151522, 0.0721750));
        Out =  luma.xxx + Saturation.xxx * (In - luma.xxx);
    }
    
    문서 개요
    맨 위로
    Copyright © 2023 Unity Technologies — 상표 및 이용약관
    • 법률정보
    • 개인정보처리방침
    • 쿠키
    • 내 개인정보 판매 금지
    • Your Privacy Choices (Cookie Settings)