mirror of
https://github.com/drewcassidy/KSP-Conformal-Decals.git
synced 2024-09-01 18:23:54 +00:00
Hopefully fix decals when used with certain parts
This commit is contained in:
@ -218,7 +218,7 @@ fixed4 frag_forward(v2f IN) : SV_Target
|
||||
#ifdef DECAL_PREVIEW
|
||||
i.normal = fixed3(0,0,1);
|
||||
#else
|
||||
i.normal = UnpackNormal(tex2D(_BumpMap, IN.uv_base));
|
||||
i.normal = UnpackNormalDXT5nm(tex2D(_BumpMap, IN.uv_base));
|
||||
#endif //DECAL_PREVIEW
|
||||
#endif //DECAL_BASE_NORMAL
|
||||
|
||||
|
Reference in New Issue
Block a user