|
|
|
|
|
|
|
|
|
|
#pragma vertex LitPassVertex |
|
|
|
#pragma fragment LitPassFragmentSimple |
|
|
|
#include "LightweightPassLit.hlsl" |
|
|
|
#include "LWRP/ShaderLibrary/LightweightPassLit.hlsl" |
|
|
|
ENDHLSL |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
#pragma vertex ShadowPassVertex |
|
|
|
#pragma fragment ShadowPassFragment |
|
|
|
|
|
|
|
#include "LightweightPassShadow.hlsl" |
|
|
|
#include "LWRP/ShaderLibrary/LightweightPassShadow.hlsl" |
|
|
|
ENDHLSL |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
#pragma vertex vert |
|
|
|
#pragma fragment frag |
|
|
|
|
|
|
|
#include "LightweightShaderLibrary/Core.hlsl" |
|
|
|
#include "LWRP/ShaderLibrary/Core.hlsl" |
|
|
|
|
|
|
|
float4 vert(float4 pos : POSITION) : SV_POSITION |
|
|
|
{ |
|
|
|
|
|
|
#pragma shader_feature _EMISSION |
|
|
|
#pragma shader_feature _SPECGLOSSMAP |
|
|
|
|
|
|
|
#include "LightweightPassMeta.hlsl" |
|
|
|
#include "LWRP/ShaderLibrary/LightweightPassMeta.hlsl" |
|
|
|
ENDHLSL |
|
|
|
} |
|
|
|
} |
|
|
|