add game&rawdata
This commit is contained in:
parent
0133cd976c
commit
49b34b5546
45731 changed files with 709831 additions and 0 deletions
18
gamedata/shaders/d3d11/accum_sun_mask.ps.hlsl
Normal file
18
gamedata/shaders/d3d11/accum_sun_mask.ps.hlsl
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#include "common.hlsli"
|
||||
|
||||
#define EPS (0.9f / 255.f)
|
||||
#define CLIP_THRESHOLD (1.0f / 255.f)
|
||||
|
||||
float4 main(p_TL I, float4 pos2d : SV_POSITION) : SV_Target
|
||||
{
|
||||
IXrayGbuffer O;
|
||||
GbufferUnpack(I.Tex0, pos2d.xy, O);
|
||||
|
||||
// float4 NH = float4(O.Normal, O.Hemi);
|
||||
float L = O.Hemi + O.SSS;
|
||||
|
||||
clip(L);
|
||||
|
||||
return float4(L, L, L, L);
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue