Skip to content

Commit fabda7e

Browse files
committed
Vertex shading hotfix
1 parent 98f124d commit fabda7e

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## Version 2.0.2
2+
- Fixed old function call in HiFi Vertex Lighting
3+
14
## Version 2.0.1
25
- Improve light checks
36
- Fix lightmaps not being assigned properly

Editor/Resources/Luka_Backlace/Scripts/Project.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public class Project
1313
public static readonly string project_name = "Backlace";
1414
public static readonly string project_path = "Luka_Backlace";
1515
public static readonly string project_license = "/Licenses/Backlace";
16-
public static Version version = new Version("2.0.0");
16+
public static Version version = new Version("2.0.2");
1717
public static readonly Version version_dazzle = new Version("4.6.0"); // just internally
1818
public static readonly string project_docs = "https://luka.moe/docs/backlace";
1919
public static readonly bool has_license = true; // if the project has a license file, or if you wanna show it

Shaders/Includes/Backlace_Shading.cginc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ void Shade4PointLights(float3 normal, float3 worldPos, out float3 color, out flo
533533
{
534534
Surface.VertexDirectDiffuse = 0;
535535
#if defined(VERTEXLIGHT_ON)
536-
MultibandVertLight(Surface.NormalDir, FragData.worldPos, Surface.VertexDirectDiffuse);
536+
HifiVertLight(Surface.NormalDir, FragData.worldPos, Surface.VertexDirectDiffuse);
537537
Surface.VertexDirectDiffuse *= Surface.Albedo * _VertexIntensity;
538538
#endif // VERTEXLIGHT_ON
539539

0 commit comments

Comments
 (0)