From 300bb177a13dec99232871c4393e2b8c306668f3 Mon Sep 17 00:00:00 2001 From: z3y Date: Mon, 23 Sep 2024 21:46:26 +0200 Subject: [PATCH] fixed specular color wrong dimension on the blend final color node --- ShaderLibrary/GraphFunctions.hlsl | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ShaderLibrary/GraphFunctions.hlsl b/ShaderLibrary/GraphFunctions.hlsl index 230f6c5..6a88266 100644 --- a/ShaderLibrary/GraphFunctions.hlsl +++ b/ShaderLibrary/GraphFunctions.hlsl @@ -96,7 +96,7 @@ void AlphaTransparentBlend(inout half alpha, inout half3 albedo, half metallic) #endif } -void BlendFinalColor(out half3 Color, out half Alpha, half3 diffuse = 1, half specular = 0, half3 emission = 0, half3 albedo = 1, half roughness = 0, half metallic = 0, half alpha = 1) +void BlendFinalColor(out half3 Color, out half Alpha, half3 diffuse = 1, half3 specular = 0, half3 emission = 0, half3 albedo = 1, half roughness = 0, half metallic = 0, half alpha = 1) { Color = diffuse; diff --git a/package.json b/package.json index ff97026..d7616ac 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.z3y.graphlit", - "version": "1.0.11", + "version": "1.0.12", "unity": "2022.3", "displayName": "Graphlit", "hideInEditor": false,