Skip to content

Commit

Permalink
unused code removed
Browse files Browse the repository at this point in the history
  • Loading branch information
dkyeck committed Dec 20, 2014
1 parent 1c71e59 commit 50c81a8
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions Assets/Lux 2.0/Shader/Lux Skin/Includes/LuxSkinLighting.cginc
Original file line number Diff line number Diff line change
Expand Up @@ -5,30 +5,6 @@
#include "UnityStandardBRDF.cginc"
#include "UnityStandardUtils.cginc"

//-------------------------------------------------------------------------------------
// Default BRDF to use:

#if (SHADER_TARGET < 30)
// Fallback to low fidelity one for pre-SM3.0
#define UNITY_BRDF_PBS BRDF3_Unity_PBS
#elif defined(SHADER_API_MOBILE)
// Somewhat simplified for mobile
#define UNITY_BRDF_PBS BRDF2_Unity_PBS
#else
// Full quality for SM3+ PC / consoles
#define UNITY_BRDF_PBS BRDF1_Unity_PBS
#endif


//-------------------------------------------------------------------------------------
// BRDF for lights extracted from *indirect* directional lightmaps (baked and realtime).
// Baked directional lightmap with *direct* light uses UNITY_BRDF_PBS.
// For better quality change to BRDF1_Unity_PBS.
// No directional lightmaps in SM2.0.

#define UNITY_BRDF_PBS_LIGHTMAP_INDIRECT BRDF2_Unity_PBS
#define UNITY_BRDF_GI BRDF_Unity_Indirect

//-------------------------------------------------------------------------------------

sampler2D _BRDFTex;
Expand Down

0 comments on commit 50c81a8

Please sign in to comment.