mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Fix lightingKSP for standard/standard specular
This commit is contained in:
parent
cb98e78a3f
commit
f545e4c5ab
@ -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
|
||||
}
|
||||
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user