Skip to content

Commit

Permalink
fixed specular color wrong dimension on the blend final color node
Browse files Browse the repository at this point in the history
  • Loading branch information
z3y committed Sep 23, 2024
1 parent 52b8370 commit 300bb17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ShaderLibrary/GraphFunctions.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "com.z3y.graphlit",
"version": "1.0.11",
"version": "1.0.12",
"unity": "2022.3",
"displayName": "Graphlit",
"hideInEditor": false,
Expand Down

0 comments on commit 300bb17

Please sign in to comment.