Added new ramp diffuse ambient mode.

This commit is contained in:
2025-05-06 00:01:08 +09:00
parent abdf6196ed
commit 10331b93ff
6 changed files with 86 additions and 33 deletions

View File

@@ -146,7 +146,7 @@ Shader "HDRP/Toon"
_Anisotropy("Anisotropy", Range(-1.0, 1.0)) = 0
_AnisotropyMap("AnisotropyMap", 2D) = "white" {}
_KKColor("BaseColor", Color) = (1,1,1,1)
_BSDFContribution("_BSDFContribution", Range(0.0,1.0)) = 0
@@ -183,6 +183,10 @@ Shader "HDRP/Toon"
_IndirectSpecularMatCapMap("IndirectSpecularMatCapMap", 2D) = "black" {}
_IndirectSpecularMatCapLod("IndirectSpecularMatCapMapLOD", Range(-5, 5)) = 0.0
_IndirectDiffuseRampMap("_IndirectDiffuseRampMap", 2DArray) = "black" {}
_IndirectDiffuseRampIndex("IndirectDiffuseRampIndex", Integer) = 0
_IndirectDiffuseRampPosition("IndirectDiffuseRampPosition", Range(0, 1)) = 0.5
_IndirectSpecularIntensity("Indirect Specular Intensity", Range(0, 5)) = 1.0
_SSRWeight("SSR Weight", Range(0.0, 1.0)) = 1.0