Skip to content

Commit

Permalink
Fix lightingKSP for standard/standard specular
Browse files Browse the repository at this point in the history
  • Loading branch information
drewcassidy committed Aug 24, 2024
1 parent cb98e78 commit f545e4c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/ConformalDecals/Shaders/LightingKSP.cginc
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ inline void LightingBlinnPhongKSP_GI(inout SurfaceOutput s, UnityGIInput gi_inpu

// STANDARD UNITY LIGHTING FUNCTION FOR KSP

inline float3 LightingStandardKSP(SurfaceOutputStandard s, float3 worldViewDir, UnityGI gi)
inline float4 LightingStandardKSP(SurfaceOutputStandard s, float3 worldViewDir, UnityGI gi)
{
return LightingStandard(s, worldViewDir, gi); // no change
}
Expand All @@ -109,7 +109,7 @@ inline void LightingStandardKSP_GI(inout SurfaceOutputStandard s, UnityGIInput g

// STANDARD SPECULAR UNITY LIGHTING FUNCTION FOR KSP

inline float3 LightingStandardSpecularKSP(SurfaceOutputStandardSpecular s, float3 worldViewDir, UnityGI gi)
inline float4 LightingStandardSpecularKSP(SurfaceOutputStandardSpecular s, float3 worldViewDir, UnityGI gi)
{
return LightingStandardSpecular(s, worldViewDir, gi); // no change
}
Expand Down

0 comments on commit f545e4c

Please sign in to comment.