Added UtsGetSurfaceAndBuiltinData to change metallic and smothness when PBR mode off;

This commit is contained in:
2025-02-03 19:17:25 +08:00
parent 886432db7b
commit 74263900ac
5 changed files with 466 additions and 1 deletions

View File

@@ -700,7 +700,7 @@ Shader "HDRP/Toon"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/Material/Lit/ShaderPass/LitSharePass.hlsl"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/Material/Lit/LitData.hlsl"
#include "Packages/com.unity.render-pipelines.high-definition/Runtime/RenderPipeline/ShaderPass/ShaderPassGBuffer.hlsl"
#include "Packages/com.misaki.hdrp-toon/Runtime/Shaders/Includes/ShaderPass/UtsShaderPassGBuffer.hlsl"
#pragma vertex Vert
#pragma fragment Frag